diff --git a/app/models/issue.rb b/app/models/issue.rb index 49e699720..bda93ddc8 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -51,7 +51,7 @@ class Issue < ActiveRecord::Base :url => Proc.new {|o| {:controller => 'issues', :action => 'show', :id => o.id}}, :type => Proc.new {|o| 'issue' + (o.closed? ? '-closed' : '')} - acts_as_activity_provider :scope => proc { preload(:project, :author, :tracker, :status) }, + acts_as_activity_provider :scope => proc {preload(:project, :author, :tracker, :status)}, :author_key => :author_id DONE_RATIO_OPTIONS = %w(issue_field issue_status)