Hello people :)

I'm bad in English, so i'll be short. It newbie question, I think)

In my application I has users, which :has_many => posts. In routes.rb
I can with ease create routes for posts like /:user_id/posts/..., but
I wish to have something like /posts/:user_id/... instead. And use
map.resources syntax to be one-liner, of course :)

Can I possibly do that?

Thank in advance!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to