Skip to content

Commit

Permalink
Merge pull request ares-ensiie#44 from Soulou/updateBootstrapGallery
Browse files Browse the repository at this point in the history
Fix gallery loading
  • Loading branch information
Soulou committed Mar 16, 2013
2 parents 5ceaa77 + 404a3fb commit 681d398
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 681d398

Please sign in to comment.