diff options
author | Stormwind <stormwind@stormwinds-page.de> | 2023-05-09 11:03:34 +0200 |
---|---|---|
committer | Stormwind <stormwind@stormwinds-page.de> | 2023-05-09 12:37:15 +0200 |
commit | b582ca5d8aafdf9bfaccbe67c74aa532cbfc4f1a (patch) | |
tree | fa5bd206af0191e5a002a6498d83bb50c8b61890 /spec/unit/request/post_spec.rb | |
parent | 8cb48215bfdc7352ea39ee2c7241bd4d87636198 (diff) |
Add error handeling pages (primarily for 404)
Now you can add special error pages for http error codes.
Currently it works only for 404 errors. If a route is called, which
isn't defined, the framwork gave our a generic 404 error page.
Now you can redirect this error to a controller, which allowes you to
create a special error handling for that case yourself.
you just need to add a route "404 => MyErrorController" to your routing
list. If it's not defined, noting will change and the old error message
will be returned as beforehand.
Diffstat (limited to 'spec/unit/request/post_spec.rb')
0 files changed, 0 insertions, 0 deletions