summaryrefslogtreecommitdiff
path: root/app/models/todo.rb
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-06-29 16:08:18 +0200
committerJarka Kadlecová <jarka@gitlab.com>2018-07-03 09:34:44 +0200
commit50c1a989cc9c756c343e1f169474e35c3850bbc1 (patch)
treebdde70b3065196d7dd3c7a5b5c1fb84104832a84 /app/models/todo.rb
parentef0df760fc3f8b79b9e1cb4a1669df1a667ba8be (diff)
downloadgitlab-ce-50c1a989cc9c756c343e1f169474e35c3850bbc1.tar.gz
More EE->CE fixes
Diffstat (limited to 'app/models/todo.rb')
-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 61158285ea9..942cbb754e3 100644
--- a/app/models/todo.rb
+++ b/app/models/todo.rb
@@ -83,7 +83,7 @@ class Todo < ActiveRecord::Base
end
def parent
- project || group
+ project
end
def unmergeable?