I am currently working on a Rails 4 app and have come to the point where I want to display a custom error page to the user when any exception occurs. Currently it is using the 500.HTML in the public directory.
How can I get the app to render an erb file instead as I want to have some dynamic stuff on the page.
Thanks for you help, Alex