summaryrefslogtreecommitdiffstats
path: root/app/helpers/calendars_helper.rb
diff options
context:
space:
mode:
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},