summaryrefslogtreecommitdiff
path: root/app/finders
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-07-11 11:02:11 +0100
committerSean McGivern <sean@gitlab.com>2016-07-12 19:01:09 +0100
commitd957d5f1aa45d3a8474678e5439ccdc09a545482 (patch)
treea2de9685f2c15594c1bfa9dc6703d0c5b32c6558 /app/finders
parenteac0433f864b89a19bd3ca82afaf7957a9a3148f (diff)
downloadgitlab-ce-d957d5f1aa45d3a8474678e5439ccdc09a545482.tar.gz
Add approval required todosapproval-required-todo
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/todos_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/todos_finder.rb b/app/finders/todos_finder.rb
index 7806d9e4cc5..681b403b817 100644
--- a/app/finders/todos_finder.rb
+++ b/app/finders/todos_finder.rb
@@ -37,7 +37,7 @@ class TodosFinder
private
def action_id?
- action_id.present? && [Todo::ASSIGNED, Todo::MENTIONED, Todo::BUILD_FAILED, Todo::MARKED].include?(action_id.to_i)
+ action_id.present? && Todo::ACTION_NAMES.has_key?(action_id.to_i)
end
def action_id