Cheers! I have in routes code like this:
user_photo GET /users/:user_id/photos/:id(.:format) photos#show
And I have a link_to helper:
= link_to 'Show', ...
How can I link it to show photo uploaded by current user?
user_photo_path
doesn't work