Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/models/todo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/todo.rb b/app/models/todo.rb
index 7bbdf321269..47dabc1533d 100644
--- a/app/models/todo.rb
+++ b/app/models/todo.rb
@@ -177,7 +177,7 @@ class Todo < ApplicationRecord
end
def resource_parent
- project
+ project || group
end
def unmergeable?