Module: Workarea::Configuration::ErrorHandling
- Extended by:
- ErrorHandling
- Included in:
- ErrorHandling
- Defined in:
- lib/workarea/configuration/error_handling.rb
Instance Method Summary collapse
Instance Method Details
#load ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/workarea/configuration/error_handling.rb', line 6 def load Rails.application.config.action_dispatch.rescue_responses['Workarea::InvalidDisplay'] = :not_found unless Rails.application.config.consider_all_requests_local Rails.application.config.exceptions_app = Storefront::Engine.routes end end |