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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-01-30 11:42:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-01-30 11:42:23 +0300
commitc3e54801bb461b6d53c48e3194f87cb5ebf3f5ba (patch)
tree3eef57c9f35c9aa0332a4c0b9ee88afd5da628f2 /app/models
parent21fb7a5e5b6be5c58845460e3a2f9de0c1cfab8c (diff)
Add latest changes from gitlab-org/gitlab@15-8-stable-ee
Diffstat (limited to 'app/models')
-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?