summaryrefslogtreecommitdiffstats
path: root/app/views/projects
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/index.xml.builder3
-rw-r--r--app/views/projects/show.xml.builder3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/index.xml.builder b/app/views/projects/index.xml.builder
index 637ae7ef6..ea99d4906 100644
--- a/app/views/projects/index.xml.builder
+++ b/app/views/projects/index.xml.builder
@@ -1,7 +1,8 @@
xml.instruct!
xml.projects :type => 'array' do
@projects.each do |project|
- xml.project :id => project.id do
+ xml.project do
+ xml.id project.id
xml.name project.name
xml.identifier project.identifier
xml.description project.description
diff --git a/app/views/projects/show.xml.builder b/app/views/projects/show.xml.builder
index 3c4241d4c..f4a1e1429 100644
--- a/app/views/projects/show.xml.builder
+++ b/app/views/projects/show.xml.builder
@@ -1,5 +1,6 @@
xml.instruct!
-xml.project :id => @project.id do
+xml.project do
+ xml.id @project.id
xml.name @project.name
xml.identifier @project.identifier
xml.description @project.description