Defect #33829 » patch.diff
| 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
|
||