Feature #8545 ยป IncludeTracker.diff
| app/views/projects/index.api.rsb (working copy) | ||
|---|---|---|
|
api.created_on project.created_on
|
||
|
api.updated_on project.updated_on
|
||
|
api.array :trackers do
|
||
|
project.trackers.each do |tracker|
|
||
|
api.tracker(:id => tracker.id, :name => tracker.name)
|
||
|
end
|
||
|
end if include_in_api_response?('trackers')
|
||
|
end
|
||
|
end
|
||
|
end
|
||