Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2016-05-18 12:14:53 +0300
committerSean McGivern <sean@gitlab.com>2016-05-18 12:14:53 +0300
commitcf3b149e6506c516d6f691f6e36c599f0beb0590 (patch)
treeb9f2c73f142dc624edbfea808de02c87b7bd7d41 /app/views/groups
parentda8ac1635f1c12e9455e7517bee29678c754d492 (diff)
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')
-rw-r--r--app/views/groups/issues.atom.builder8
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|