about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-06-21 23:48:54 +0200
committerThibaut Girka <thib@sitedethib.com>2018-06-21 23:48:54 +0200
commit0c3a337e045dbd4b7be6ae6c3f07969b42f08857 (patch)
tree0dbc68de59a9916a1322a1177ef9efd82d8023ea /app
parentab5f450700085ce73621b28b813f2edc5f199785 (diff)
Fix confirmations_controller
Diffstat (limited to 'app')
-rw-r--r--app/controllers/auth/confirmations_controller.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/controllers/auth/confirmations_controller.rb b/app/controllers/auth/confirmations_controller.rb
index 322f8683e..de0fcd3e3 100644
--- a/app/controllers/auth/confirmations_controller.rb
+++ b/app/controllers/auth/confirmations_controller.rb
@@ -6,12 +6,6 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
   before_action :set_user, only: [:finish_signup]
   before_action :set_pack
 
-  private
-
-  def set_pack
-    use_pack 'auth'
-  end
-
   # GET/PATCH /users/:id/finish_signup
   def finish_signup
     return unless request.patch? && params[:user]
@@ -26,6 +20,10 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
 
   private
 
+  def set_pack
+    use_pack 'auth'
+  end
+
   def set_user
     @user = current_user
   end