diff options
author | rhenium <rhenium@rhe.jp> | 2014-05-04 06:31:09 +0900 |
---|---|---|
committer | rhenium <rhenium@rhe.jp> | 2014-05-04 06:31:09 +0900 |
commit | dee2a7691a0067d52276d6d531258cea989d9f12 (patch) | |
tree | fc4b481d1b5ec92eddc1623e083d749304acd2f3 /app/controllers/application_controller.rb | |
parent | a2c339a2a3ae46466a271b1aeb8a059c24439174 (diff) | |
download | aclog-dee2a7691a0067d52276d6d531258cea989d9f12.tar.gz |
enable error handling only in production
Diffstat (limited to 'app/controllers/application_controller.rb')
-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 11983d1..ab1e701 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,5 +1,5 @@ class ApplicationController < ActionController::Base - include ControllerErrorHandling + include ControllerErrorHandling if Rails.env.production? protect_from_forgery with: :exception |