diff options
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 2cbb826af..2ce44011f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -121,7 +121,7 @@ class ApplicationController < ActionController::Base def render_exception(exception) # In development or the admin interface let Rails handle the exception # with its stack trace templates - if Rails.application.config.consider_all_requests_local || local_request? + if Rails.application.config.consider_all_requests_local || show_rails_exceptions? raise exception end @@ -147,7 +147,7 @@ class ApplicationController < ActionController::Base end end - def local_request? + def show_rails_exceptions? false end |