diff options
author | Stan Hu <stanhu@gmail.com> | 2015-12-27 19:47:10 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-12-27 19:47:10 -0800 |
commit | 6f0ee5c9089d469a59879fbc0ffd6a2f3d69687e (patch) | |
tree | a4278a8513f37118dbe01eaab8c9e21649b330d0 /app/controllers/registrations_controller.rb | |
parent | 9f7d379c2a018c86671bfc157fe1f0cf4e31e25e (diff) | |
download | gitlab-ce-6f0ee5c9089d469a59879fbc0ffd6a2f3d69687e.tar.gz |
Fix failed spec
Diffstat (limited to 'app/controllers/registrations_controller.rb')
-rw-r--r-- | app/controllers/registrations_controller.rb | 2 |
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 |