summaryrefslogtreecommitdiffstats
path: root/app/models/news.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-18 16:16:22 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-18 16:16:22 +0000
commitd0cd1083b33fd8c1d63f05da14a9f2fddfbbb54b (patch)
treed58871d1ab16ff9346a2ec7bcc4479e7af2e4cb5 /app/models/news.rb
parent046c0c472913e86fca4793177e2f11c09422c37d (diff)
downloadredmine-d0cd1083b33fd8c1d63f05da14a9f2fddfbbb54b.tar.gz
redmine-d0cd1083b33fd8c1d63f05da14a9f2fddfbbb54b.zip
remove spaces inside {} of app/models/news.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20424 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/news.rb')
-rw-r--r--app/models/news.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/news.rb b/app/models/news.rb
index 7c4e4b280..575dabd73 100644
--- a/app/models/news.rb
+++ b/app/models/news.rb
@@ -32,7 +32,7 @@ class News < ActiveRecord::Base
acts_as_searchable :columns => ['title', 'summary', "#{table_name}.description"],
:preload => :project
acts_as_event :url => Proc.new {|o| {:controller => 'news', :action => 'show', :id => o.id}}
- acts_as_activity_provider :scope => proc { preload(:project, :author) },
+ acts_as_activity_provider :scope => proc {preload(:project, :author)},
:author_key => :author_id
acts_as_watchable