Mo. Mo. - 6 months ago 17
HTML Question

Adding Icon to rails website?

Very stupid question I know, but how can i add a icon to my Rails website? To show in tabs when its 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' %>