Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-12-28 06:47:10 +0300
committerStan Hu <stanhu@gmail.com>2015-12-28 06:47:10 +0300
commit6f0ee5c9089d469a59879fbc0ffd6a2f3d69687e (patch)
treea4278a8513f37118dbe01eaab8c9e21649b330d0
parent9f7d379c2a018c86671bfc157fe1f0cf4e31e25e (diff)
Fix failed spec
-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