Skip to content

404 and 500 error pages  #24

@saradotlog

Description

@saradotlog
  • Removed 404 and 505 html file in Public folder and Generate a new ErrorsController that inherits from ApplicationController with command rails g controller errors not_found internal_server_error.
  • Configure Routes to Handle New Errors Page in config/routes.rb.
  • Adjust configuration to turn off the default way Rails will handle errors in the main application.rb file.
  • Disable configuration in config/environments/development.rb in order to test things out locally.
  • Style, edit and adjust the views within app/views/errors accordingly.

Metadata

Metadata

Assignees

Labels

In ProgressActively being worked on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions