I want to display the 404.html page for routes that are not defined in
my application. So if a visitor tries to visit
“http:://www.yoursite.com/undefined” instead of “Routing error” they
will get my 404.html page.
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…