summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-10-08 15:01:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-10-08 15:01:20 +0000
commit84ebd786d6eb20693f8ba93a04be93e279be0289 (patch)
treef14e4959b1069a4a34966bb6e516d4f9b2ac0046 /app
parent156eca4d223efce4abd67c9ef7b129a3d07d83e6 (diff)
downloadredmine-84ebd786d6eb20693f8ba93a04be93e279be0289.tar.gz
redmine-84ebd786d6eb20693f8ba93a04be93e279be0289.zip
Fix the Log Time link on an issue page
Contributed by Philippe Lafoucrière (gravis) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4243 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_action_menu.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/issues/_action_menu.rhtml b/app/views/issues/_action_menu.rhtml
index 30c63ec66..8a24ac853 100644
--- a/app/views/issues/_action_menu.rhtml
+++ b/app/views/issues/_action_menu.rhtml
@@ -1,6 +1,6 @@
<div class="contextual">
<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
-<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %>
+<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %>
<% replace_watcher ||= 'watcher' %>
<%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %>
<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %>