Class: CustomErrorsHandlerController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- CustomErrorsHandlerController
- Defined in:
- lib/custom_errors_handler_controller.rb
Constant Summary collapse
- VALID_ERRORS_DIR_PREFIX =
Where it should look for error templates
['', 'layouts', 'shared']
- VALID_ERRORS_DIR_POSTFIX =
['', 'errors', 'shared']
- ERRORS =
[ :internal_server_error, :not_found, :unprocessable_entity ].freeze