]> source.dussan.org Git - redmine.git/commitdiff
Fixed: timelog link in the activity broken by recent refactoring (#6702).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 22 Oct 2010 20:40:11 +0000 (20:40 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 22 Oct 2010 20:40:11 +0000 (20:40 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4277 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/time_entry.rb

index 9bf9708910e948bfd95f02fd89574522408f97d8..b832277da167a4a483d6f8b866bb3fee4ac97258 100644 (file)
@@ -27,7 +27,7 @@ class TimeEntry < ActiveRecord::Base
 
   acts_as_customizable
   acts_as_event :title => Proc.new {|o| "#{l_hours(o.hours)} (#{(o.issue || o.project).event_title})"},
-                :url => Proc.new {|o| {:controller => 'timelog', :action => 'details', :project_id => o.project, :issue_id => o.issue}},
+                :url => Proc.new {|o| {:controller => 'timelog', :action => 'index', :project_id => o.project, :issue_id => o.issue}},
                 :author => :user,
                 :description => :comments