favicon_link_tag(source='favicon.ico', options={})
Instance Public methods
Returns a link loading a favicon file. You may specify a different file in
the first argument. The helper accepts an additional options hash where you
can override ârelâ and âtypeâ.
Options
:rel - Specify the relation of this link, defaults to
'shortcut icon'
:type - Override the auto-generated mime type, defaults to
'image/vnd.microsoft.icon'
Examples
favicon_link_tag 'myicon.ico'
# => <link