summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/timelog/index.html.erb')
-rw-r--r--app/views/timelog/index.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb
index a875e53af..b32e7092c 100644
--- a/app/views/timelog/index.html.erb
+++ b/app/views/timelog/index.html.erb
@@ -21,8 +21,8 @@
<span class="pagination"><%= pagination_links_full @entry_pages, @entry_count %></span>
<% other_formats_links do |f| %>
- <%= f.link_to 'Atom', :url => params.merge({:issue_id => @issue, :key => User.current.rss_key}) %>
- <%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
+ <%= f.link_to_with_query_parameters 'Atom', :key => User.current.rss_key %>
+ <%= f.link_to_with_query_parameters 'CSV', {}, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
<% end %>
<div id="csv-export-options" style="display:none;">