I have a pretty common case for nested routes, I feel like, that looks something like this (in some sort of pseudonotation):
\'/:username/photos\' => Show
You could define a seperate route for getting the photos for one user like so:
get '(:username)/photos', :to => 'photos#index'
But I would advise just using the nested resource that Jimmy posted above since that is the most flexible solution.