From edc6f55a28f29f80429d4037fa99e644bb0c1b88 Mon Sep 17 00:00:00 2001 From: Espen Antonsen Date: Tue, 28 Jul 2009 01:31:35 +0200 Subject: [PATCH] full photo now clickable --- app/views/photos/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %>