splendeo-lightbox2_helpers 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/lightbox2_helpers/form_helpers.rb +3 -3
- metadata +1 -1
@@ -38,12 +38,12 @@ module Lightbox2Helpers::FormHelpers
|
|
38
38
|
end
|
39
39
|
|
40
40
|
if options[:group]
|
41
|
-
html_options.merge {:rel => "lightbox[#{options[:group]}]"}
|
41
|
+
html_options.merge!( {:rel => "lightbox[#{options[:group]}]"} )
|
42
42
|
else
|
43
|
-
html_options.merge {:rel => "lightbox"}
|
43
|
+
html_options.merge!( {:rel => "lightbox"} )
|
44
44
|
end
|
45
45
|
|
46
|
-
html_options.merge {:title => options[:title]} if options[:title]
|
46
|
+
html_options.merge!( {:title => options[:title]} ) if options[:title]
|
47
47
|
|
48
48
|
if block_given?
|
49
49
|
return concat(link_to(capture(&block), options, html_options))
|