##// END OF EJS Templates
acts_as_versioned use old style (Rails 2.x) of method call for #all (#24348)....
acts_as_versioned use old style (Rails 2.x) of method call for #all (#24348). git-svn-id: http://svn.redmine.org/redmine/trunk@15950 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r15430:fa2f59815091
r15568:2b70d977052a
Show More
index.api.rsb
10 lines | 325 B | text/plain | TextLexer
Jean-Philippe Lang
Makes enumerations available through the REST API....
r10453 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
Jean-Philippe Lang
Render custom values of enumeration objects in API requests (#22795)....
r15430 render_api_custom_values enumeration.visible_custom_field_values, api
Jean-Philippe Lang
Makes enumerations available through the REST API....
r10453 end
end
end