Feature #8545 ยป IncludeTracker.diff
| app/views/projects/index.api.rsb (working copy) | ||
|---|---|---|
| 11 | 11 | |
| 12 | 12 |
api.created_on project.created_on |
| 13 | 13 |
api.updated_on project.updated_on |
| 14 | ||
| 15 |
api.array :trackers do |
|
| 16 |
project.trackers.each do |tracker| |
|
| 17 |
api.tracker(:id => tracker.id, :name => tracker.name) |
|
| 18 |
end |
|
| 19 |
end if include_in_api_response?('trackers')
|
|
| 14 | 20 |
end |
| 15 | 21 |
end |
| 16 | 22 |
end |