I\'m trying to split my rails project in a front-end for regular users and a back-end for admins. Therefore i have created a namespace \'admin\' so that i can easily control adm
How about just moving the devise_for method into a scope:
devise_for
scope '/admin' do devise_for :admins end
With namespace, the controllers will try to look for an Admin::SessionController that wont exist. With scope it doesn't, so that should work.
Admin::SessionController