How to Add a Favicon to Your Rails App
You created a Rails application that executes perfectly. All the routes are golden. The styling is crisp. Then you look at your tabs and realize something vital is missing.
To add a favicon to your Rails app
- Save the image to your assets folder:
2. Open your views/layouts/application.html.erb file.
<%= favicon_link_tag asset_path('image-name.png') %>
4. Single or double fist-pump.