Routing: Best default route for static files?


I have several image files that I’m serving from my app.

I get lots of “ActionController::RoutingError” errors in my log, but
then these files are served anyway by Apache.

Here is my routes.rb file:

map.connect ‘’, :controller => ‘e_simply’, :action => ‘login_form’
map.connect ‘:controller/:action/:id/:data’, :data => nil
map.connect ‘:controller/:action/*filename’

  1. What is the best route to use to allow anything through that I would
    put at the bottom of this list so that I don’t get routing errors when
    the browser requests a static image file, for example?