I have many REST routes in my application, including

map.resources :users

This works well, and my url ends up /users/2 for a specific user.
However, how do I use resources when I want my specific user url
( user_url(2) ) to be:

/users/2-john-smith

Do I need to create all the routes manually?  I didn't see an option
in map.resources that would let me do that.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to