From 81a43cc2b6ad4577c3fb34f8605ee01a6c1e7993 Mon Sep 17 00:00:00 2001 From: Christian Bruckmayer Date: Tue, 8 Dec 2015 16:05:29 +0100 Subject: [PATCH] Raise exception on XSRF fail Reported by hakiri.io --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index df6bedff..49fdc6fa 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -1,6 +1,6 @@ class ApplicationController < ActionController::Base include ApplicationHelper - protect_from_forgery + protect_from_forgery with: :exception before_filter :get_conferences before_filter :store_location helper_method :date_string