What to change/write in routes.rb .. ?

If I understand the question correctly you want to go to a particular
page when the user enters an invalid controller or action? When
running in production mode this, by default, displays the page
public/404.html. You can make this page display what you like. Is
that what you are looking for?

Colin

Actually true .. :slight_smile:
But i found its solution in development mode also ..

Colin Law wrote: