File cleanup/organization in controllers/concerns
(#27846)
This commit is contained in:
parent
0530ce5e95
commit
1f1c75bba5
22 changed files with 26 additions and 26 deletions
|
@ -1,7 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Auth::ConfirmationsController < Devise::ConfirmationsController
|
||||
include CaptchaConcern
|
||||
include Auth::CaptchaConcern
|
||||
|
||||
layout 'auth'
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
class Auth::RegistrationsController < Devise::RegistrationsController
|
||||
include RegistrationHelper
|
||||
include RegistrationSpamConcern
|
||||
include Auth::RegistrationSpamConcern
|
||||
|
||||
layout :determine_layout
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ class Auth::SessionsController < Devise::SessionsController
|
|||
|
||||
prepend_before_action :check_suspicious!, only: [:create]
|
||||
|
||||
include TwoFactorAuthenticationConcern
|
||||
include Auth::TwoFactorAuthenticationConcern
|
||||
|
||||
before_action :set_body_classes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue