I have two routes in my routes.rb :
map.connect '', :controller => "main", :action => "index"
map.connect 'admin/:action/:id', :controller => "admin"
and I would like to add a last line that will route everything else to
the function of a controlle
map.connect '*', :controller => "main", :action => "stuff"
of course this is not correct but this is the idea
I want /foo/bar/blahblah to be routed to the stuff method of main's
(and of course it will override the /404.htm in production mode)
Can someone help ? I asked #rubyonrails without success