Hi everyone I want to have two restful controllers for the same resource (Users) One controller (UsersController) is straight in the controllers folder and is used for singup and so on Then i need another controller for users which is inside an admin folder (Admin::UsersController)
In my routes.rb i have
map.resources :users
# Sample resource route within a namespace: map.namespace :admin do |admin| admin.resources :users end
When i access the /admin/users it will render the index action of the UsersController not the Admin::UsersController Any clues?