summaryrefslogtreecommitdiffstats
path: root/app/helpers/calendars_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-01 14:34:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-01 14:34:44 +0000
commita80b909cc8f7f0ca47744093ff0decaaa45f2264 (patch)
treeb9708ef62d92b36f8ed0346f2099b5c589d8e2dc /app/helpers/calendars_helper.rb
parentcf8d19592995b4ca55b0a113a0645edd5f917345 (diff)
downloadredmine-a80b909cc8f7f0ca47744093ff0decaaa45f2264.tar.gz
redmine-a80b909cc8f7f0ca47744093ff0decaaa45f2264.zip
Converted issue filters to non-AJAX GET requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/calendars_helper.rb')
-rw-r--r--app/helpers/calendars_helper.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb
index 08e665dcd..20f1e8297 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -32,9 +32,7 @@ module CalendarsHelper
end
def link_to_month(link_name, year, month, options={})
- project_id = options[:project].present? ? options[:project].to_param : nil
-
- link_target = calendar_path(:year => year, :month => month, :project_id => project_id)
+ link_target = url_for(params.merge(:year => year, :month => month))
link_to_remote(link_name,
{:update => "content", :url => link_target, :method => :put},