]> cat aescling's git repositories - mastodon.git/commitdiff
Fix new user confirmation page styling
authorThibaut Girka <thib@sitedethib.com>
Tue, 1 Oct 2019 11:31:27 +0000 (13:31 +0200)
committerThibG <thib@sitedethib.com>
Tue, 1 Oct 2019 11:48:47 +0000 (13:48 +0200)
app/controllers/auth/setup_controller.rb

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