diff options
| author | mo khan <mo@mokhan.ca> | 2014-02-22 12:45:59 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-02-22 12:45:59 -0700 |
| commit | f246a5b0d0fac8346035088257be328f63edf06f (patch) | |
| tree | 375d447b22b906a6eaedbc2faf7f39903847c8da /app/controllers | |
| parent | b49f5f2edc5593f9489edfdd5d20a488cf3325ea (diff) | |
display errors in dev mode.
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 424262c..419e9b0 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -3,7 +3,7 @@ class ApplicationController < ActionController::Base # For APIs, you may want to use :null_session instead. protect_from_forgery with: :null_session before_filter :load_additional_payload_data - rescue_from StandardError, with: :return_server_error + rescue_from StandardError, with: :return_server_error unless Rails.env.development? def load_additional_payload_data @license_statuses = LicenseStatus::ALL |
