From 43b848a2edc794d1fb5743be533980f05bd2a18a Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 17 Nov 2020 12:41:33 +0000 Subject: [PATCH] remove spaces inside {} of app/models/issue.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20411 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/issue.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5