summaryrefslogtreecommitdiff
path: root/app/views/issues
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_issue.atom.builder11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/views/issues/_issue.atom.builder b/app/views/issues/_issue.atom.builder
index 9ec765c45f9..2ed78bb3b65 100644
--- a/app/views/issues/_issue.atom.builder
+++ b/app/views/issues/_issue.atom.builder
@@ -26,9 +26,16 @@ xml.entry do
if issue.assignees.any?
xml.assignees do
issue.assignees.each do |assignee|
- xml.name assignee.name
- xml.email assignee.public_email
+ xml.assignee do
+ xml.name assignee.name
+ xml.email assignee.public_email
+ end
end
end
+
+ xml.assignee do
+ xml.name issue.assignees.first.name
+ xml.email issue.assignees.first.public_email
+ end
end
end