summaryrefslogtreecommitdiff
path: root/app/controllers/registrations_controller.rb
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-12-27 19:47:10 -0800
committerStan Hu <stanhu@gmail.com>2015-12-27 19:47:10 -0800
commit6f0ee5c9089d469a59879fbc0ffd6a2f3d69687e (patch)
treea4278a8513f37118dbe01eaab8c9e21649b330d0 /app/controllers/registrations_controller.rb
parent9f7d379c2a018c86671bfc157fe1f0cf4e31e25e (diff)
downloadgitlab-ce-6f0ee5c9089d469a59879fbc0ffd6a2f3d69687e.tar.gz
Fix failed spec
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r--app/controllers/registrations_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/registrations_controller.rb b/app/controllers/registrations_controller.rb
index 283831f8149..ee1006dea49 100644
--- a/app/controllers/registrations_controller.rb
+++ b/app/controllers/registrations_controller.rb
@@ -55,7 +55,7 @@ class RegistrationsController < Devise::RegistrationsController
end
def resource
- @resource ||= User.new
+ @resource ||= User.new(sign_up_params)
end
def devise_mapping