diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-18 16:16:22 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-11-18 16:16:22 +0000 |
commit | d0cd1083b33fd8c1d63f05da14a9f2fddfbbb54b (patch) | |
tree | d58871d1ab16ff9346a2ec7bcc4479e7af2e4cb5 /app/models/news.rb | |
parent | 046c0c472913e86fca4793177e2f11c09422c37d (diff) | |
download | redmine-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.rb | 2 |
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 |