提交 0c291f35 编写于 作者: D Dmitriy Zaporozhets

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

Raise on forgery

Fixes #1572

See merge request !1156
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册