bug page miniatures

This commit is contained in:
Nico 2013-02-10 14:01:53 +01:00
parent 3fd152a582
commit 33f5c8b636

View File

@ -1,6 +1,6 @@
#small_index
-@portfolio.images.each do |img|
=link_to image_tag(img.photo.thumb.url, :style => "height:100px;float:left;padding:5px;"), portfolio_path(:slug => @portfolio.slug, :format => "js", :page => img.page(@portfolio), :onclick => '$("#small_index").toggleClass("active");' ,:remote => true
=link_to image_tag(img.photo.thumb.url, :style => "height:100px;float:left;padding:5px;"), portfolio_path(:slug => @portfolio.slug, :format => "js", :page => img.page(@portfolio)), :onclick => '$("#small_index").toggleClass("active");' ,:remote => true
portfolio_path(:id => img.portfolios.first.slug, :page => img.page(img.portfolios.first))
.portfolio