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
In addition to the first solution of the answer of iain i had to generate views of devise or else it throws a template missing exception.
generate views with
rails g devise_views
The views will be located in views>devise. Move the created map 'sessions' to the map views>admin