Philip Hallstrom wrote: > You could add a catch-all route at the end that checks for > "favicon.ico" and then send-file the real favicon.ico back. Or to > speed it up do it using rack/metal. > > But if were me, I'd do it in apache. That will definitely be the > fastest.
Woops, I forgot my real question. Right, I can do a catch-all like that (I actually did figure out a way to do that) -- but how do I have a rails route send back a static file? Do I need to create a method in application.rb for sending back the static file? Any way to tell a route to result in a static file? THAT was my original question! Jonathan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

