Note to self: favicons in Rails

February 22, 2008 – 9:15 am

Just so I can remember it later: adding a favicon to /public is not enough to get it to show up for a Rails application. You also need to update your layout(s) with the following:

<link rel="shortcut icon" href="/favicon.ico" />

Hopefully this saves somebody else some time, too.

Post a Comment