From 404a3fb52b72c005fc00e46313e3833236a4d08a Mon Sep 17 00:00:00 2001 From: Soulou Date: Sat, 16 Mar 2013 16:38:05 +0100 Subject: [PATCH] fix gallery loading --- app/views/gallery/albums/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/gallery/albums/show.html.haml b/app/views/gallery/albums/show.html.haml index 5a0ea02..a110d82 100644 --- a/app/views/gallery/albums/show.html.haml +++ b/app/views/gallery/albums/show.html.haml @@ -16,6 +16,6 @@ - if !@album.photos.empty? #gallery{ "data-toggle" => "modal-gallery", "data-target" => "#modal-gallery"} - @album.photos.each do |p| - = link_to (image_tag p.photo.url(:thumb)), p.photo.url , :rel => "gallery", :title => p.name + = link_to (image_tag p.photo.url(:thumb)), p.photo.url , "data-gallery" => "gallery", :title => p.name = render 'modal'