diff options
author | George Andrinopoulos <geoandri@gmail.com> | 2017-11-25 17:04:45 +0200 |
---|---|---|
committer | George Andrinopoulos <geoandri@gmail.com> | 2017-11-25 22:09:18 +0200 |
commit | 7fb1bb01bd669cc46514ed17b1b8822a1d962970 (patch) | |
tree | b6206b0a2e290e3254bff1475dfef0caf66503d4 /app/controllers/concerns/issuable_actions.rb | |
parent | d199ecd452a3bfdc8ba7b4a0ae244a282c047c9f (diff) | |
download | gitlab-ce-7fb1bb01bd669cc46514ed17b1b8822a1d962970.tar.gz |
Create issue and merge request destroy services
Diffstat (limited to 'app/controllers/concerns/issuable_actions.rb')
-rw-r--r-- | app/controllers/concerns/issuable_actions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/concerns/issuable_actions.rb b/app/controllers/concerns/issuable_actions.rb index 072dffaff7a..f6d9f88032f 100644 --- a/app/controllers/concerns/issuable_actions.rb +++ b/app/controllers/concerns/issuable_actions.rb @@ -54,7 +54,7 @@ module IssuableActions end def destroy - issuable.destroy + Issuable::DestroyService.new(project, current_user).execute(issuable) TodoService.new.destroy_issuable(issuable, current_user) name = issuable.human_class_name |