I want to add a logo beside my title in the tab bar of my rails app. I've been searching for a while now and none of them work for me (maybe I did the wrong way), so please help me. Thanks.
Asked
Active
Viewed 964 times
0
-
I found it for you! Look at this my friend :)! https://stackoverflow.com/questions/6130593/adding-icon-to-rails-application. – Sofiane Aug 13 '17 at 15:15
1 Answers
0
You will need to have a favicon.ico
.
Most browsers automatically scan the root directory for a file named favicon.ico
, so you don't really need to do anything on your rails code.

Eren Tantekin
- 1,461
- 14
- 24
-
-
No, it needs to be in your website's root folder. At least if you want it to be picked up automatically. – Eren Tantekin Aug 12 '17 at 17:27
-
-
in your public folder. from the root directory of your rails app it is ./public/favicon.ico @Tatamatugas – m. simon borg Aug 12 '17 at 18:04