diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-03 14:01:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-04-03 14:01:32 +0000 |
commit | 0f0fbeb26df61312aeac7cd3dabf3c01f36b8838 (patch) | |
tree | 2a02ce4c39ba1e93134e17468395469d0d968580 /app/helpers/calendars_helper.rb | |
parent | 7bca8c42121aa2b8d794e3654017d3432c629fe1 (diff) | |
download | redmine-0f0fbeb26df61312aeac7cd3dabf3c01f36b8838.tar.gz redmine-0f0fbeb26df61312aeac7cd3dabf3c01f36b8838.zip |
Makes all pagination-like links use #link_to_content_update (#5138).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5301 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/calendars_helper.rb')
-rw-r--r-- | app/helpers/calendars_helper.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb index d898df3e9..82f3905e7 100644 --- a/app/helpers/calendars_helper.rb +++ b/app/helpers/calendars_helper.rb @@ -32,12 +32,6 @@ module CalendarsHelper end def link_to_month(link_name, year, month, options={}) - link_target = url_for(params.merge(:year => year, :month => month)) - - link_to_remote(link_name, - {:update => "content", :url => link_target, :method => :get}, - {:href => link_target}) - + link_to_content_update(link_name, params.merge(:year => year, :month => month)) end - end |