Sha256: 467992f9e46986dc89ccb48544f07891b328292a6722210ea0b4069d23987e42

Contents?: true

Size: 229 Bytes

Versions: 3

Compression:

Stored size: 229 Bytes

Contents

module FaceboxRenderHelper

  def facebox_link_to(name, options = {}, html_options = nil)  
    link_to_function(name, "jQuery.facebox(function(){ #{remote_function(options)} })", html_options || options.delete(:html))
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facebox-render-0.9.9 lib/facebox_render_helper.rb
facebox-render-0.9.0 lib/facebox_render_helper.rb
facebox-render-0.9.5 lib/facebox_render_helper.rb