Project

General

Profile

Defect #33829 » patch.diff

Tatsuya Saito, 2020-08-08 09:34

View differences:

app/models/issue.rb (working copy)
49 49

  
50 50
  acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"},
51 51
                :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}},
52
                :type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') }
52
                :type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') },
53
                :datetime => Proc.new {|o| o.updated_on }
53 54

  
54 55
  acts_as_activity_provider :scope => preload(:project, :author, :tracker, :status),
55 56
                            :author_key => :author_id
(1-1/4)