mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 16:26:03 +01:00
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@18325 e93f8b46-1217-0410-a6f0-8f06a7374b81
12 lines
361 B
Plaintext
12 lines
361 B
Plaintext
api.array @klass.name.underscore.pluralize do
|
|
@enumerations.each do |enumeration|
|
|
api.__send__ @klass.name.underscore do
|
|
api.id enumeration.id
|
|
api.name enumeration.name
|
|
api.is_default enumeration.is_default
|
|
api.active enumeration.active
|
|
render_api_custom_values enumeration.visible_custom_field_values, api
|
|
end
|
|
end
|
|
end
|