Follow Along as I Stumble on the Path to Learning RoR

Where to Place Favicon for Rails App

To get the favicon to show in my Rails App, I named the favicon, favicon.ico, then:

  1. placed the image in the image directory for my app (app/assets/image)
  2. added this to the header:
<%= favicon_link_tag 'favicon.ico' %>

To create my favicon, I used http://www.favicon.cc

Advertisements

Comments are closed.