summaryrefslogtreecommitdiff
path: root/app/views/issues
diff options
context:
space:
mode:
authorValery Sizov <valery@gitlab.com>2017-05-05 16:57:27 +0300
committerValery Sizov <valery@gitlab.com>2017-05-05 16:57:27 +0300
commit79b8323d11cc06911b996f327c6e06fd29cafea4 (patch)
tree880fbc94d521393f4e26df3b52b10eefef8188ec /app/views/issues
parent34be1835af2913c86bc468131e6bcbd530daf48d (diff)
downloadgitlab-ce-79b8323d11cc06911b996f327c6e06fd29cafea4.tar.gz
[Multiple issue assignees] Fix issue atom feed
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