diff options
Diffstat (limited to 'app/controllers/errors_controller.rb')
| -rw-r--r-- | app/controllers/errors_controller.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb new file mode 100644 index 0000000..d6eabf5 --- /dev/null +++ b/app/controllers/errors_controller.rb @@ -0,0 +1,8 @@ +class ErrorsController < PublicController + include Gaffe::Errors + layout "public" + + def show + render @rescue_response, status: @status_code + end +end |
