Adapting Error Pages

Our Rails Connector offers the possibility to adapt the look of the error pages displayed for the status codes 403 (access denied) and 410 (page not found). Furthermore, the behavior of the Rails application in case one of these errors occurs can be changed.

To modify the displayed error page you can create an individual template and place it in the app/views/errors/ directory.

To have your individual code executed as one of these errors occurs, you can extend the corresponding controller (for 403 errors) or the CmsController (for 410 errors) according to your needs. For details, please refer to the RDoc documentation on the CmsAccessible module part of the Rails Connector.