diff options
| author | Valery Sizov <valery@gitlab.com> | 2017-11-29 12:27:36 +0200 |
|---|---|---|
| committer | Valery Sizov <valery@gitlab.com> | 2017-11-29 12:27:36 +0200 |
| commit | 51d266ee8e12ebf5def4190adabe623ce60b8450 (patch) | |
| tree | 55d19907fb37d94f269670bc1a49848f2c7afaae | |
| parent | a2fea9288ef0a2d714827ac5b92e7330d3cb2c3f (diff) | |
| download | gitlab-ce-backport_from_ee.tar.gz | |
Minor backport from EEbackport_from_ee
| -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 f6d9f88032f..744e448e8df 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::DestroyService.new(project, current_user).execute(issuable) + Issuable::DestroyService.new(issuable.project, current_user).execute(issuable) TodoService.new.destroy_issuable(issuable, current_user) name = issuable.human_class_name |
