Mo. Mo. - 1 year ago 64
HTML Question

Adding icon to rails application

Very stupid question I know, but how can I add an icon to my Rails application (to show in tabs when opened in a browser etc)?


Answer Source

You can use Favicon Rails helper:

<%= favicon_link_tag %>

Or if you want another image than favicon.ico

<%= favicon_link_tag 'another_image.ico' %>