Skip to content

Commit

Permalink
fix gallery loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulou committed Mar 16, 2013
1 parent ade3069 commit 404a3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/gallery/albums/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 404a3fb

Please sign in to comment.