Minor backport from EE

This commit is contained in:
Valery Sizov 2017-11-29 12:27:36 +02:00
parent a2fea9288e
commit 51d266ee8e
1 changed files with 1 additions and 1 deletions

View File

@ -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