Adding icon to rails application

后端 未结 5 1692
悲哀的现实
悲哀的现实 2020-11-30 02:58

How can I add an icon to my Rails application (to show in tabs when opened in a browser, etc.)?

5条回答
  •  Happy的楠姐
    2020-11-30 03:33

    Just so people know, the "document root" where you place your favicon.ico is the "public" folder. As a Rails newb I thought it would be in the root of the entire application.

    Also, you may have to clear your cache for it show up.

提交回复
热议问题