splendeo-lightbox2_helpers 0.5.4 → 0.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lightbox2_helpers/form_helpers.rb +1 -1
- metadata +1 -1
@@ -46,7 +46,7 @@ module Lightbox2Helpers::FormHelpers
|
|
46
46
|
html_options[:title] = options[:title] if options[:title]
|
47
47
|
|
48
48
|
if block_given?
|
49
|
-
concat
|
49
|
+
concat link_to(capture(&block), options, html_options), block.binding
|
50
50
|
else
|
51
51
|
link_to(name, options, html_options)
|
52
52
|
end
|