annotate .svn/pristine/b7/b78c7ec646e723ff6c09d4c98b23c002509a7c88.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 api.array :projects, api_meta(:total_count => @project_count, :offset => @offset, :limit => @limit) do
Chris@909 2 @projects.each do |project|
Chris@909 3 api.project do
Chris@909 4 api.id project.id
Chris@909 5 api.name project.name
Chris@909 6 api.identifier project.identifier
Chris@909 7 api.description project.description
Chris@909 8 api.parent(:id => project.parent.id, :name => project.parent.name) if project.parent && project.parent.visible?
Chris@909 9
Chris@909 10 render_api_custom_values project.visible_custom_field_values, api
Chris@909 11
Chris@909 12 api.created_on project.created_on
Chris@909 13 api.updated_on project.updated_on
Chris@909 14 end
Chris@909 15 end
Chris@909 16 end