How can this be handled? Is there a way to setup something in routes.rb
for all routes not defined and/or not controller/action? Thanks...
--
Posted via http://www.ruby-forum.com/.
map.connect '*anything', :controller => "blah", :action =>
"unknown_request"
at the end of your routes, it will map anything it doesnt recognize
to the "unknown_request" action.
Hi
I think you place your application in production environment.
when routes is not match then it gives 404.html page. so visitor get
your default error message instead of routing error.
Thanks
Priyanka Pathak
Software Engineer
Gloscon Solution Pvt. Ltd.