Sha256: 5dcde5c2149812944a74faf81c12d0c3ad56fd2a1866acaa6a99860a4832902e
Contents?: true
Size: 510 Bytes
Versions: 10
Compression:
Stored size: 510 Bytes
Contents
module ActionView module Helpers module AssetTagHelper def link_tag(url_options = {}, tag_options = {}) href = url_options.is_a?(Hash) ? url_for(url_options.merge( :only_path => false)) : url_options tag( "link", "rel" => tag_options[:rel] || nil, "type" => tag_options[:type] || nil, "title" => tag_options[:title] || nil, "href" => compute_public_path(href, "", "") ) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems