提交 c84f1240 编写于 作者: R Robert Speicher

prepend_before_filter -> prepend_before_action

上级 bd680999
class SessionsController < Devise::SessionsController
prepend_before_filter :two_factor_enabled?, only: :create
prepend_before_action :two_factor_enabled?, only: :create
def new
redirect_path =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册