Commit 51d266ee authored by Valery Sizov's avatar Valery Sizov

Minor backport from EE

parent a2fea928
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment