From fa2f5981509166ad98f3bbee7e710331aeb9a01e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 3 Sep 2016 07:30:21 +0000 Subject: [PATCH] Render custom values of enumeration objects in API requests (#22795). Patch by Jens Kraemer. git-svn-id: http://svn.redmine.org/redmine/trunk@15812 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/enumerations/index.api.rsb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/enumerations/index.api.rsb b/app/views/enumerations/index.api.rsb index 2fc70b987..2cd219ff3 100644 --- a/app/views/enumerations/index.api.rsb +++ b/app/views/enumerations/index.api.rsb @@ -4,6 +4,7 @@ api.array @klass.name.underscore.pluralize do api.id enumeration.id api.name enumeration.name api.is_default enumeration.is_default + render_api_custom_values enumeration.visible_custom_field_values, api end end end -- 2.39.5