From 33f5c8b636e71bebe71c0eb7dbc2a74944a10cb8 Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 10 Feb 2013 14:01:53 +0100 Subject: [PATCH] bug page miniatures --- app/views/portfolios/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/portfolios/show.html.haml b/app/views/portfolios/show.html.haml index 54b4adb..acb5e9b 100644 --- a/app/views/portfolios/show.html.haml +++ b/app/views/portfolios/show.html.haml @@ -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