Project

General

Profile

Defect #33829 » patch.diff

Tatsuya Saito, 2020-08-08 09:34

View differences:

app/models/issue.rb (working copy)
acts_as_event :title => Proc.new {|o| "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"},
:url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}},
:type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') }
:type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '') },
:datetime => Proc.new {|o| o.updated_on }
acts_as_activity_provider :scope => preload(:project, :author, :tracker, :status),
:author_key => :author_id
(1-1/4)