Sha256: 5e911f5f96fdb216a8fd03f5fa600c62020eed7fe708003712685cd987baa760

Contents?: true

Size: 351 Bytes

Versions: 4

Compression:

Stored size: 351 Bytes

Contents

module UnpolyHelper

  def content_link_to(*args, **options, &block)
    target = options.delete(:target) || ''
    link_to *args, **options.merge('content-link': target), &block
  end

  def modal_link_to(*args, **options, &block)
    target = options.delete(:target) || ''
    link_to *args, **options.merge('modal-link': target), &block
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katapult-0.5.0 lib/generators/katapult/basics/templates/app/helpers/unpoly_helper.rb
katapult-0.4.1 lib/generators/katapult/basics/templates/app/helpers/unpoly_helper.rb
katapult-0.4.0 lib/generators/katapult/basics/templates/app/helpers/unpoly_helper.rb
katapult-0.3.0 lib/generators/katapult/basics/templates/app/helpers/unpoly_helper.rb