Commit 0c291f35 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'raise-on-forgery' into 'master'

Raise on forgery

Fixes #1572

See merge request !1156
parents 9535ce2c f815115d
......@@ -13,7 +13,7 @@ class ApplicationController < ActionController::Base
before_filter :configure_permitted_parameters, if: :devise_controller?
before_filter :require_email, unless: :devise_controller?
protect_from_forgery
protect_from_forgery with: :exception
helper_method :abilities, :can?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment