diff --git a/app/models/changeset.rb b/app/models/changeset.rb index 5f05dce0..87b8e09e 100644 --- a/app/models/changeset.rb +++ b/app/models/changeset.rb @@ -26,7 +26,7 @@ class Changeset < ActiveRecord::Base acts_as_journalized :event_title => Proc.new {|o| "#{l(:label_revision)} #{o.format_identifier}" + (o.short_comments.blank? ? '' : (': ' + o.short_comments))}, :event_description => :long_comments, :event_datetime => :committed_on, - :event_url => Proc.new {|o| {:controller => 'repositories', :action => 'revision', :id => o.repository.project, :rev => o.revision}}, + :event_url => Proc.new {|o| {:controller => 'repositories', :action => 'revision', :id => o.repository.project, :rev => o.identifier}}, :activity_timestamp => "#{table_name}.committed_on", :activity_find_options => {:include => [:user, {:repository => :project}]} acts_as_searchable :columns => 'comments',