Norbert Melzer
2011-Feb-15 07:49 UTC
Nested routing, a question about reordering and renaming of the path.
Hi! Since I''m not at my developing machine at the moment I can''t do any wild testing, but I want to have an answer to this, I could not find something useful on http://guides.rubyonrails.org/routing.html I have a User that is the author of articles or creator of drawings. In more rails terms: User has many articles and has many pictures. Now I want routes that looks like the following: /article/:article/written-by/:user /:user/painted/:image Is this way of routing possible without doing the matches by hand? TIA Norbert Top posted from android -- 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.