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



You can use Favicon Rails helper:

<%= favicon_link_tag %>

Or if you want another image than favicon.ico

<%= favicon_link_tag 'another_image.ico' %>