diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-08 20:52:36 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-08 20:52:36 +0300 |
commit | 8d443c0179c6f2b40a894dc69b78f06617172d86 (patch) | |
tree | 1206fde7d9f18e3d57976139455948d777c0f6bf /app/controllers/registrations_controller.rb | |
parent | 58a5041a53a0e8df20e075ae494e528d625da1cd (diff) | |
parent | 0dacf3c169a85e6f3a1c70f3f5e377d47f770d19 (diff) |
Merge branch 'rename_delete_services' into 'master'
Fix inconsistent naming for services that delete things
See merge request !5803
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 68bf01ba08d..b44f38d4a0c 100644 --- a/app/controllers/registrations_controller.rb +++ b/app/controllers/registrations_controller.rb @@ -24,7 +24,7 @@ class RegistrationsController < Devise::RegistrationsController end def destroy - DeleteUserService.new(current_user).execute(current_user) + Users::DestroyService.new(current_user).execute(current_user) respond_to do |format| format.html do |