diff --git a/app/views/photos/show.html.erb b/app/views/photos/show.html.erb index c0aa3cb..0641f96 100644 --- a/app/views/photos/show.html.erb +++ b/app/views/photos/show.html.erb @@ -14,7 +14,7 @@ <% end %>

-

<%= image_tag @photo.path_modified_public("single") %>

+

<%= link_to_if @next, image_tag(@photo.path_modified_public("single")), [ @photo.album.collections.first, @photo.album, @next] %>

<%= @photo.description %>