diff options
author | Sean McGivern <sean@gitlab.com> | 2016-05-18 10:14:53 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-05-18 10:14:53 +0100 |
commit | cf3b149e6506c516d6f691f6e36c599f0beb0590 (patch) | |
tree | b9f2c73f142dc624edbfea808de02c87b7bd7d41 /app/views/groups/issues.atom.builder | |
parent | da8ac1635f1c12e9455e7517bee29678c754d492 (diff) | |
download | gitlab-ce-cf3b149e6506c516d6f691f6e36c599f0beb0590.tar.gz |
Point group's issues atom feed to group
This was using the user dashboard atom builder template, not one for the
group's issues.
Diffstat (limited to 'app/views/groups/issues.atom.builder')
-rw-r--r-- | app/views/groups/issues.atom.builder | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/groups/issues.atom.builder b/app/views/groups/issues.atom.builder index 486d1d8587a..a6eb9abada6 100644 --- a/app/views/groups/issues.atom.builder +++ b/app/views/groups/issues.atom.builder @@ -1,9 +1,9 @@ xml.instruct! xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do - xml.title "#{@user.name} issues" - xml.link href: issues_dashboard_url(format: :atom, private_token: @user.private_token), rel: "self", type: "application/atom+xml" - xml.link href: issues_dashboard_url, rel: "alternate", type: "text/html" - xml.id issues_dashboard_url + xml.title "#{@group.name} issues" + xml.link href: issues_group_url(format: :atom, private_token: current_user.try(:private_token)), rel: "self", type: "application/atom+xml" + xml.link href: issues_group_url, rel: "alternate", type: "text/html" + xml.id issues_group_url xml.updated @issues.first.created_at.xmlschema if @issues.any? @issues.each do |issue| |