I have namespace "admin" and controller "Accounts" with
namespace
"Admin".
And Controller Accounts has method change_password.
I want have route admin/accounts/change_password.
For this I try using member
namespace :admin do
resources :accounts do
member do
get :change_password
end
end
end
But my method "change_password" does not have identificator(1) (admin/
accounts/1/change_password/).
What can I use for this?
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.