Forum: Ruby on Rails favicon.ico placement

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
32833d3ac17df58279c087afe3f7cf92?d=identicon&s=25 Mike Schwab (mschwab)
on 2006-01-23 02: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
link?
Af93ba6b6b59f22a8f37e8de5702ef98?d=identicon&s=25 Bob Silva (Guest)
on 2006-01-23 03: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 Silva
This topic is locked and can not be replied to.