From 1c177d628ffdb693483b1c39b94b5f19adcd8095 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 15:45:55 +0200 Subject: add thumbnail class to images, fix kontakt --- helpers/extra_image_helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helpers/extra_image_helpers.rb') diff --git a/helpers/extra_image_helpers.rb b/helpers/extra_image_helpers.rb index 8a1040d..47cda2d 100644 --- a/helpers/extra_image_helpers.rb +++ b/helpers/extra_image_helpers.rb @@ -22,7 +22,7 @@ module ExtraImageHelpers thumb_path = "/img/#{thumb_name}" container_opts = options.delete(:container_opts) || {} - image_link = content_tag(:a, href: path) do + image_link = content_tag(:a, href: path, class: "th") do image_tag(thumb_path, options) end -- cgit v1.2.1