Mo. Mo. - 10 months ago 57
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)?



You can use Favicon Rails helper:

<%= favicon_link_tag %>

Or if you want another image than favicon.ico

<%= favicon_link_tag 'another_image.ico' %>