diff options
author | Winnie Hellmann <winnie@gitlab.com> | 2019-08-26 16:00:19 +0200 |
---|---|---|
committer | Winnie Hellmann <winnie@gitlab.com> | 2019-08-26 16:44:58 +0200 |
commit | ded00059e18374fc84e59b3ff3d83b0979239825 (patch) | |
tree | c32c0af6e737a3dcefe779aa134adb90fb8e4719 | |
parent | 7ba1db2bc81a5826759f63427bf92b9688a7e81a (diff) | |
download | gitlab-ce-winh-issues-api-epic.tar.gz |
Do not consider ancestors in todo_target_classwinh-issues-api-epic
(cherry picked from commit 014245e8790975690ebe8327760de9ed80b20c0c)
-rw-r--r-- | lib/api/entities.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index 5e66b4e76a5..4202c037707 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -978,7 +978,7 @@ module API expose :created_at def todo_target_class(target_type) - ::API::Entities.const_get(target_type) + ::API::Entities.const_get(target_type, false) end end |