Raise exception on XSRF fail
Reported by hakiri.io
This commit is contained in:
parent
c5c3a903fc
commit
81a43cc2b6
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include ApplicationHelper
|
include ApplicationHelper
|
||||||
protect_from_forgery
|
protect_from_forgery with: :exception
|
||||||
before_filter :get_conferences
|
before_filter :get_conferences
|
||||||
before_filter :store_location
|
before_filter :store_location
|
||||||
helper_method :date_string
|
helper_method :date_string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue