Hello, there:
My app has already generated default actions, like index, edit,
update, create, etc. , on a namespace "admin" URL, the route is as
follow. However, I haven't figured out how to add new actions in
class Admin::UsersController and matching it to the route.rb? For
example I create a new action named "edit_role", what else I should
put on route.rb so that the route will go and pick this action?
Thanks!
map.namespace :admin do |admin|
admin.resources :tasks, :has_many => :comments
admin.resources :users
end