From cf6f8aef8ef7da6019e8f4b385c24c68c2df4295 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 5 Jun 2019 23:20:55 +0000 Subject: [PATCH] Merged r18227 from trunk to 4.0-stable (#31511). git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@18228 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/timelog/report.html.erb | 4 ++-- 1 file 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); }); }); -- 2.39.5