Sha256: f521d2d8a57924b202118021c50a809929c328df59ff275b5f2820ac68d32064

Contents?: true

Size: 218 Bytes

Versions: 4

Compression:

Stored size: 218 Bytes

Contents

module Dorsale
  module LinkHelper
    def icon_link_to(icon, name, options = nil, html_options = nil, &block)
      name = "#{icon(icon)} #{name}"
      link_to(name, options, html_options, &block)
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
dorsale-1.2.2 app/helpers/dorsale/link_helper.rb
dorsale-1.2.1 app/helpers/dorsale/link_helper.rb
dorsale-1.2.0 app/helpers/dorsale/link_helper.rb
dorsale-1.1.4 app/helpers/dorsale/link_helper.rb