@@ -34,7 +34,7 class Changeset < ActiveRecord::Base | |||
|
34 | 34 | acts_as_event :title => Proc.new {|o| "#{l(:label_revision)} #{o.format_identifier}" + (o.short_comments.blank? ? '' : (': ' + o.short_comments))}, |
|
35 | 35 | :description => :long_comments, |
|
36 | 36 | :datetime => :committed_on, |
|
37 | :url => Proc.new {|o| {:controller => 'repositories', :action => 'revision', :id => o.repository.project, :rev => o.identifier}} | |
|
37 | :url => Proc.new {|o| {:controller => 'repositories', :action => 'revision', :id => o.repository.project, :repository_id => o.repository.identifier_param, :rev => o.identifier}} | |
|
38 | 38 | |
|
39 | 39 | acts_as_searchable :columns => 'comments', |
|
40 | 40 | :include => {:repository => :project}, |
General Comments 0
You need to be logged in to leave comments.
Login now