aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2014-03-13 22:34:36 +0900
committerRhenium <rhenium@rhe.jp>2014-03-13 22:34:36 +0900
commitff11dfd29dcf731030f7e640d1a73642d62baab7 (patch)
tree3d28e3524893d4e016be3d6525f32b54855c168c /app/controllers/application_controller.rb
parentc50b8b97993bd6e168afb34f25dac23c3f85ae6b (diff)
downloadaclog-ff11dfd29dcf731030f7e640d1a73642d62baab7.tar.gz
upgrade Rails to 4.1.0.rc1, add Guard, Spring
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 76c5f8c..11983d1 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -1,7 +1,7 @@
class ApplicationController < ActionController::Base
include ControllerErrorHandling
- protect_from_forgery
+ protect_from_forgery with: :exception
after_action :tidy_response_body
helper_method :logged_in?, :current_user