From 9b2d2a586dbdd3cf8f5f32f05cf56e29fcd48ebd Mon Sep 17 00:00:00 2001 From: Jasper van den Berg Date: Fri, 14 Jun 2019 16:01:52 +0200 Subject: [PATCH] change prepend_before_action to before_action --- app/controllers/devise/two_factor_authentication_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/devise/two_factor_authentication_controller.rb b/app/controllers/devise/two_factor_authentication_controller.rb index 0e7aed84..6c320342 100644 --- a/app/controllers/devise/two_factor_authentication_controller.rb +++ b/app/controllers/devise/two_factor_authentication_controller.rb @@ -1,7 +1,7 @@ require 'devise/version' class Devise::TwoFactorAuthenticationController < DeviseController - prepend_before_action :authenticate_scope! + before_action :authenticate_scope! before_action :prepare_and_validate, :handle_two_factor_authentication def show