From fa2f5981509166ad98f3bbee7e710331aeb9a01e 2016-09-03 07:30:21 From: Jean-Philippe Lang Date: 2016-09-03 07:30:21 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 --- diff --git a/app/views/enumerations/index.api.rsb b/app/views/enumerations/index.api.rsb index 2fc70b9..2cd219f 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