I have a situation here where I have frontend controller and view and
menu on the left side of the frontend controller. I would like to make
it so that the 404 page would appear inside my frontend view instead of
displaying that 404.html from public dir.
How could I make Rails in production mode to do that? I guess I need a
method like error_404 inside the frontend controller file and then I
need a view, error_404.rhtml. But how to get Rails to redirect 404
errors to the frontend controller?