diff options
author | dixpac <dino.onex@gmail.com> | 2016-08-13 15:45:31 +0300 |
---|---|---|
committer | dixpac <dino.onex@gmail.com> | 2017-02-08 11:16:43 +0300 |
commit | 0dacf3c169a85e6f3a1c70f3f5e377d47f770d19 (patch) | |
tree | 9a7ceb14b6a7aa96636a4024df06fa37c782a3ee /app/controllers/registrations_controller.rb | |
parent | a965edb89d3c260394ffc987832a469e7740415d (diff) |
Fix inconsistent naming for services that delete things
* Changed name of delete_user_service and worker to destroy
* Move and change delete_group_service to Groups::DestroyService
* Rename Notes::DeleteService to Notes::DestroyService
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 bf27f3d4d51..cf6aa37936b 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 |