On Feb 14, 2011, at 1:04 AM, Mitchell Gould wrote:
I have a user. They have could have many products
The typical link in rails would be
www.somesite.com/controller/action/id
what I want is it to look like
www.somesite.com/user_name/product_name
How can I do this using routes.rb
You might want to look at friendly_id, that's right up its alley.
Walter
Thank
Mitch
--
Posted via http://www.ruby-forum.com/.
--
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-
[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
.
--
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.