summaryrefslogtreecommitdiffstats
path: root/app/views/issues/index.xml.builder
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/index.xml.builder')
-rw-r--r--app/views/issues/index.xml.builder3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/issues/index.xml.builder b/app/views/issues/index.xml.builder
index 4c848b54d..813aae1b1 100644
--- a/app/views/issues/index.xml.builder
+++ b/app/views/issues/index.xml.builder
@@ -1,7 +1,8 @@
xml.instruct!
xml.issues :type => 'array', :count => @issue_count do
@issues.each do |issue|
- xml.issue :id => issue.id do
+ xml.issue do
+ xml.id issue.id
xml.project(:id => issue.project_id, :name => issue.project.name) unless issue.project.nil?
xml.tracker(:id => issue.tracker_id, :name => issue.tracker.name) unless issue.tracker.nil?
xml.status(:id => issue.status_id, :name => issue.status.name) unless issue.status.nil?