Nested routing, a question about reordering and renaming of the path


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
useful on

I have a User that is the author of articles or creator of drawings. In
rails terms:

User has many articles and has many pictures.

Now I want routes that looks like the following:


Is this way of routing possible without doing the matches by hand?


Top posted from android

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs