That does not look like the routes from restful authentication
alone... Looks like there is a role base authentication system added
too...
If you do all the user editing inside the admin space why not just
wrap this in the admin space?
map.resources :admin do |admin|
admin.resources :users, :member => { :enable => :put } do |users|
users.resource :account
users.resources :roles
end
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---