From 13da124b16ff58f83e812e8b57f4039b4681a3d6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 20 Dec 2019 08:07:57 +0000 Subject: CSV import does not keep the project it was clicked from (#21766). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19381 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/timelog/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/timelog/index.html.erb') diff --git a/app/views/timelog/index.html.erb b/app/views/timelog/index.html.erb index e33855cd8..01e6752fe 100644 --- a/app/views/timelog/index.html.erb +++ b/app/views/timelog/index.html.erb @@ -7,7 +7,7 @@ :class => 'icon icon-settings' if User.current.allowed_to?(:manage_project_activities, @project) %> <%= actions_dropdown do %> <% if User.current.allowed_to?(:import_time_entries, @project, :global => true) %> - <%= link_to l(:button_import), new_time_entries_import_path %> + <%= link_to l(:button_import), new_time_entries_import_path(:project_id => @project) %> <% end %> <% end %> -- cgit v1.2.3