Wednesday, February 19, 2014

html - Adding Icon to rails website? - Stack Overflow

html - Adding Icon to rails website? - Stack Overflow: "<%= favicon_link_tag %>
Or if you want another image than favicon.ico

<%= favicon_link_tag 'another_image.ico' %>
share|improve this answer
answered May 25 '11 at 20:57

JCorcuera
3,21211419
 
Simple, but great 'as the rails way' answer. –  Cadence96 Mar 10 '12 at 8:49
3  
I'd just like to add that the favicon.ico file should go in the public directory and documentation can be found here: apidock.com/rails/ActionView/Helpers/AssetTagHelper/… –  David Grayson Sep 19 '12 at 22:20
add comment
"



'via Blog this'

No comments:

Post a Comment