diff options
author | Rubén Dávila <ruben@gitlab.com> | 2015-11-20 10:49:12 -0500 |
---|---|---|
committer | Rubén Dávila <ruben@gitlab.com> | 2015-11-20 10:49:12 -0500 |
commit | fa9f2dec0e07ff3ae3a2acd6ee0586e317bdb7b6 (patch) | |
tree | df50951dd8963d6a8cd42e9e46f1c5e13e7d5bd6 /app/models | |
parent | fc18e96db38f5d5ab5e102fe630682f6779203ba (diff) | |
download | gitlab-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.rb | 2 |
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 |