summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 19:55:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 19:55:07 +0000
commitf4e7765e0101dcc869d0457bf581932c3c024944 (patch)
treef0535cae32cb8fd9cff03ef086f0fe47368f85de /app/views/news
parentb2044e6dfc261656ee477fa0287c98bda3fa183d (diff)
downloadredmine-f4e7765e0101dcc869d0457bf581932c3c024944.tar.gz
redmine-f4e7765e0101dcc869d0457bf581932c3c024944.zip
Don't generate urls with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15632 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/news')
-rw-r--r--app/views/news/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/news/index.html.erb b/app/views/news/index.html.erb
index 64614c154..2ff5a1c8c 100644
--- a/app/views/news/index.html.erb
+++ b/app/views/news/index.html.erb
@@ -44,7 +44,7 @@
<% end %>
<% content_for :header_tags do %>
- <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
+ <%= auto_discovery_link_tag(:atom, _project_news_path(@project, :key => User.current.rss_key, :format => 'atom')) %>
<%= stylesheet_link_tag 'scm' %>
<% end %>