]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Log Time link broken in issue context menu (#6904).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 16 Nov 2010 19:49:08 +0000 (19:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 16 Nov 2010 19:49:08 +0000 (19:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4409 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/context_menus/issues.html.erb

index 3372ed60070901d99002c946fd445f65cd124f04..f0fa350ac9066cc43ab5ae3fcea6d46762491c13 100644 (file)
@@ -98,7 +98,7 @@
 
 <% if !@issue.nil? %>
        <% if @can[:log_time] -%>
-       <li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue},
+       <li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue},
                :class => 'icon-time-add' %></li>
        <% end %>
        <% if User.current.logged? %>