splendeo-lightbox2_helpers 0.5.4 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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(link_to(capture(&block), options, html_options))
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splendeo-lightbox2_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Enrique Garcia Cota (egarcia)