From ded00059e18374fc84e59b3ff3d83b0979239825 Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Mon, 26 Aug 2019 16:00:19 +0200 Subject: Do not consider ancestors in todo_target_class (cherry picked from commit 014245e8790975690ebe8327760de9ed80b20c0c) --- lib/api/entities.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1