diff options
author | Valery Sizov <valery@gitlab.com> | 2017-05-05 16:57:27 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2017-05-05 16:57:27 +0300 |
commit | 79b8323d11cc06911b996f327c6e06fd29cafea4 (patch) | |
tree | 880fbc94d521393f4e26df3b52b10eefef8188ec /app/views/issues | |
parent | 34be1835af2913c86bc468131e6bcbd530daf48d (diff) |
[Multiple issue assignees] Fix issue atom feed
Diffstat (limited to 'app/views/issues')
-rw-r--r-- | app/views/issues/_issue.atom.builder | 11 |
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 |