summaryrefslogtreecommitdiffstats
path: root/app/helpers/calendars_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 17:20:28 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-10 17:20:28 +0000
commit731eadc4502f7fccc85dcc2ab4c29a9da4f5a415 (patch)
treed3f30a05d64fc6bfcef6ad6c10b6f4f75e36232c /app/helpers/calendars_helper.rb
parentcf62de0ff65edc734219f90d0ec64b3a8019be89 (diff)
downloadredmine-731eadc4502f7fccc85dcc2ab4c29a9da4f5a415.tar.gz
redmine-731eadc4502f7fccc85dcc2ab4c29a9da4f5a415.zip
Don't generate urls with params.
git-svn-id: http://svn.redmine.org/redmine/trunk@15630 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/calendars_helper.rb')
-rw-r--r--app/helpers/calendars_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb
index cb1327625..ec56abc91 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -53,6 +53,6 @@ module CalendarsHelper
end
def link_to_month(link_name, year, month, options={})
- link_to(link_name, params.merge(:year => year, :month => month), options)
+ link_to(link_name, {:params => request.query_parameters.merge(:year => year, :month => month)}, options)
end
end