Raise exception on XSRF fail

Reported by hakiri.io
This commit is contained in:
Christian Bruckmayer 2015-12-08 16:05:29 +01:00
parent c5c3a903fc
commit 81a43cc2b6

View file

@ -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