Forum: Ruby on Rails favicon.ico placement

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mike S. (Guest)
on 2006-01-23 03:36
  <link rel="shortcut icon" href="/public/favicon.ico" >

This causes a routing error, and the icon doesn't load.  Should I add
something to my routes.rb file, or should I change the href in the above
Bob S. (Guest)
on 2006-01-23 04:03
(Received via mailing list)
Link your favicon using /favicon.ico

The public dir is your document_root, so with your url its looking for a
controller named public.

Bob S.
This topic is locked and can not be replied to.