Customizing routing error messages

I have found various methods showing how this can be done.

What is still unclear is whether there is a different behavior between
development and production. So far I am only working in dev.

Here is the scenario in development:

I enter a bad URL, for example /bad_controller/no_action, I get
a Routing Error - Recognition failed for "/bad_controller/no_action"

What I would like to see is public/404.html displayed instead. If
this is already the case in production then I guess I am done.

Thanks for the clarification,

Long

You're done, that is the case :slight_smile: