summaryrefslogtreecommitdiffstats
path: root/app/views/gantts/show.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 19:18:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 19:18:12 +0000
commitb2044e6dfc261656ee477fa0287c98bda3fa183d (patch)
treeb9d50e229eb6d18ad97a05333c3c37c7ded692bd /app/views/gantts/show.html.erb
parent731eadc4502f7fccc85dcc2ab4c29a9da4f5a415 (diff)
downloadredmine-b2044e6dfc261656ee477fa0287c98bda3fa183d.tar.gz
redmine-b2044e6dfc261656ee477fa0287c98bda3fa183d.zip
Don't generate urls with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15631 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts/show.html.erb')
-rw-r--r--app/views/gantts/show.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index 0f7092081..09a17b166 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -345,8 +345,8 @@
</table>
<% other_formats_links do |f| %>
- <%= f.link_to 'PDF', :url => params.merge(@gantt.params) %>
- <%= f.link_to('PNG', :url => params.merge(@gantt.params)) if @gantt.respond_to?('to_image') %>
+ <%= f.link_to_with_query_parameters 'PDF', @gantt.params %>
+ <%= f.link_to_with_query_parameters('PNG', @gantt.params) if @gantt.respond_to?('to_image') %>
<% end %>
<% end # query.valid? %>