Mercurial > hg > soundsoftware-site
view app/views/issue_categories/index.api.rsb @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
api.array :issue_categories, api_meta(:total_count => @categories.size) do @categories.each do |category| api.issue_category do api.id category.id api.project(:id => category.project_id, :name => category.project.name) unless category.project.nil? api.name category.name api.assigned_to(:id => category.assigned_to_id, :name => category.assigned_to.name) unless category.assigned_to.nil? end end end