summaryrefslogtreecommitdiffstats
path: root/app/views/timelog/index.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-12-20 08:07:57 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-12-20 08:07:57 +0000
commit13da124b16ff58f83e812e8b57f4039b4681a3d6 (patch)
treefa9b0fd654a48dc7cca7da430bf84098638bc10f /app/views/timelog/index.html.erb
parent9c6a2c48e0e5bafbe8158269f6c4969d89441e89 (diff)
downloadredmine-13da124b16ff58f83e812e8b57f4039b4681a3d6.tar.gz
redmine-13da124b16ff58f83e812e8b57f4039b4681a3d6.zip
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
Diffstat (limited to 'app/views/timelog/index.html.erb')
-rw-r--r--app/views/timelog/index.html.erb2
1 files changed, 1 insertions, 1 deletions
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 %>
</div>