Mo. Mo. - 4 months ago 11
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)?

Thanks

Answer

You can use Favicon Rails helper:

<%= favicon_link_tag %>

Or if you want another image than favicon.ico

<%= favicon_link_tag 'another_image.ico' %>
Comments