From d8ef4b6f4d815500671dc21d40596219df3baa8d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 22 Oct 2010 20:40:11 +0000 Subject: [PATCH] Fixed: timelog link in the activity broken by recent refactoring (#6702). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4277 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/time_entry.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/time_entry.rb b/app/models/time_entry.rb index 9bf970891..b832277da 100644 --- a/app/models/time_entry.rb +++ b/app/models/time_entry.rb @@ -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 -- 2.39.5