swachian
2008-Sep-03 01:34 UTC
how can i clear the inner resources route in a nested route
I have : map.resources :users do |users| user.resources :addressbooks end this provide me with url like ''/users/1/addressbooks/1'' and ''/ addressbooks/1''. My problem is that how i''m able to clear the ''/addressbooks/1'' route and making it not to work? I only wanna the former to work. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---