diff options
author | geoandri <geoandri@gmail.com> | 2017-04-13 11:47:52 +0300 |
---|---|---|
committer | George Andrinopoulos <geoandri@gmail.com> | 2017-04-13 13:02:59 +0300 |
commit | defbff482d537975e8493c4f687e195bfd3d3919 (patch) | |
tree | 031bea2a68ceef6f70860da3fba8c5a2f41cd5ad /app/controllers/registrations_controller.rb | |
parent | d7a527163b64fa38e46fc6195fef2f5d93e47d07 (diff) | |
download | gitlab-ce-defbff482d537975e8493c4f687e195bfd3d3919.tar.gz |
Implement Users::BuildService
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 8109427a45f..3ca14dee33c 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -60,7 +60,7 @@ class RegistrationsController < Devise::RegistrationsController end def resource - @resource ||= Users::CreateService.new(current_user, sign_up_params).build + @resource ||= Users::BuildService.new(current_user, sign_up_params).execute end def devise_mapping |