Fix new user confirmation page styling

main
Thibaut Girka 2019-10-01 13:31:27 +02:00 committed by ThibG
parent 65db9df011
commit 857c67f31b
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
class Auth::SetupController < ApplicationController class Auth::SetupController < ApplicationController
layout 'auth' layout 'auth'
before_action :set_pack
before_action :authenticate_user! before_action :authenticate_user!
before_action :require_unconfirmed_or_pending! before_action :require_unconfirmed_or_pending!
before_action :set_body_classes before_action :set_body_classes
@ -55,4 +56,8 @@ class Auth::SetupController < ApplicationController
def missing_email? def missing_email?
truthy_param?(:missing_email) truthy_param?(:missing_email)
end end
def set_pack
use_pack 'auth'
end
end end