diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-23 17:10:35 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-23 17:11:39 +0200 |
commit | a12d50c5e5ebba17e6e16d3d628f449caf24b6d2 (patch) | |
tree | bd5e4ca15f0c5a30e83eccfd8870e025508daa0a /app/views/projects/show.atom.builder | |
parent | a8812dc148220360def15a0d19f20e45ae46597d (diff) | |
download | gitlab-ce-a12d50c5e5ebba17e6e16d3d628f449caf24b6d2.tar.gz |
Remove unnecessary private_token params.atom-feeds-everywhere
Diffstat (limited to 'app/views/projects/show.atom.builder')
-rw-r--r-- | app/views/projects/show.atom.builder | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.atom.builder b/app/views/projects/show.atom.builder index 0e31720ebcf..bb713dcafa5 100644 --- a/app/views/projects/show.atom.builder +++ b/app/views/projects/show.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} activity" xml.link href: namespace_project_url(@project.namespace, @project, format: :atom, private_token: current_user.private_token), rel: "self", type: "application/atom+xml" - xml.link href: namespace_project_url(@project.namespace, @project, private_token: current_user.private_token), rel: "alternate", type: "text/html" + xml.link href: namespace_project_url(@project.namespace, @project), rel: "alternate", type: "text/html" xml.id namespace_project_url(@project.namespace, @project) xml.updated @events.maximum(:updated_at).strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any? |