]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/application_controller.rb
Merge remote-tracking branch 'upstream/pull/1587'
[rails.git] / app / controllers / application_controller.rb
index 89636aaa8be9c637a4e8441ec4530496073cf614..534b37058d190e93884928a8f7402c35189d3143 100644 (file)
@@ -1,7 +1,7 @@
 class ApplicationController < ActionController::Base
   include SessionPersistence
 
-  protect_from_forgery
+  protect_from_forgery :with => :exception
 
   before_action :fetch_body