summaryrefslogtreecommitdiff
path: root/app/views/projects/issues
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-04-23 17:10:35 +0200
committerDouwe Maan <douwe@gitlab.com>2015-04-23 17:11:39 +0200
commita12d50c5e5ebba17e6e16d3d628f449caf24b6d2 (patch)
treebd5e4ca15f0c5a30e83eccfd8870e025508daa0a /app/views/projects/issues
parenta8812dc148220360def15a0d19f20e45ae46597d (diff)
downloadgitlab-ce-a12d50c5e5ebba17e6e16d3d628f449caf24b6d2.tar.gz
Remove unnecessary private_token params.atom-feeds-everywhere
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r--app/views/projects/issues/index.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/issues/index.atom.builder b/app/views/projects/issues/index.atom.builder
index b1e986bf020..5fa8fbdf893 100644
--- a/app/views/projects/issues/index.atom.builder
+++ b/app/views/projects/issues/index.atom.builder
@@ -2,7 +2,7 @@ xml.instruct!
xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://search.yahoo.com/mrss/" do
xml.title "#{@project.name} issues"
xml.link href: namespace_project_issues_url(@project.namespace, @project, format: :atom, private_token: current_user.private_token), rel: "self", type: "application/atom+xml"
- xml.link href: namespace_project_issues_url(@project.namespace, @project, private_token: current_user.private_token), rel: "alternate", type: "text/html"
+ xml.link href: namespace_project_issues_url(@project.namespace, @project), rel: "alternate", type: "text/html"
xml.id namespace_project_issues_url(@project.namespace, @project)
xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?