Is it possible to override a RESTful path?
For instance, I have photo_path(photo)
which would generate /photos/12345
But I'd like for all uses of photo_path
to actually generate URL's like /photos/joeschmoe/12345
(which is the photo's user and the photo id).
Obviously I could just create a new route, but wanted to make sure there wasn't a more RESTful way of doing it.