diff options
Diffstat (limited to 'app/views/timelog/report.html.erb')
-rw-r--r-- | app/views/timelog/report.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb index b5307c4af..0f83e5410 100644 --- a/app/views/timelog/report.html.erb +++ b/app/views/timelog/report.html.erb @@ -88,8 +88,8 @@ $(document).ready(function(){ $('input#csv-export-button').click(function(){ $('form input#encoding').val($('select#encoding option:selected').val()); - $('form#query_form').attr('action', '<%= report_time_entries_path(:format => 'csv') %>').submit(); - $('form#query_form').attr('action', '<%= report_time_entries_path %>'); + $('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil, :format => 'csv') %>').submit(); + $('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil) %>'); hideModal(this); }); }); |