summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorRubén Dávila <ruben@gitlab.com>2015-11-20 10:49:12 -0500
committerRubén Dávila <ruben@gitlab.com>2015-11-20 10:49:12 -0500
commitfa9f2dec0e07ff3ae3a2acd6ee0586e317bdb7b6 (patch)
treedf50951dd8963d6a8cd42e9e46f1c5e13e7d5bd6 /app/models
parentfc18e96db38f5d5ab5e102fe630682f6779203ba (diff)
downloadgitlab-ce-fa9f2dec0e07ff3ae3a2acd6ee0586e317bdb7b6.tar.gz
Monkey patching TaskList::Item is no longer required. #2296
Diffstat (limited to 'app/models')
-rw-r--r--app/models/concerns/taskable.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/concerns/taskable.rb b/app/models/concerns/taskable.rb
index 3daa4dbe24e..de7588fea86 100644
--- a/app/models/concerns/taskable.rb
+++ b/app/models/concerns/taskable.rb
@@ -7,6 +7,8 @@ require 'task_list/filter'
#
# Used by MergeRequest and Issue
module Taskable
+ COMPLETED = 'completed'.freeze
+ INCOMPLETE = 'incomplete'.freeze
ITEM_PATTERN = /
^
(?:\s*[-+*]|(?:\d+\.))? # optional list prefix