I'm working on a project now, where we have things like:

/album/1/tracks
/tracks                 #=> not valid
/tracks/1              #=> valid
/tracks/1/artists    #=> Assume a track has many artists
/artists/1/tracks    #=> reverse of above; all the tracks for an
artist.

Basically, we want `/foo/x/bar` to be valid, but not `/foo/x/bar/y`.
And we want `/bar/y` to be valid, but not `/bar`. We're finishing up a
plugin that defines those partial routes: index and create as nested
resources, and show, edit and delete as non-nested.


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