]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of app/models/news.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 Nov 2020 16:16:22 +0000 (16:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 Nov 2020 16:16:22 +0000 (16:16 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20424 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/news.rb

index 7c4e4b2801c515aea70d1ef9d4768a93579d49d9..575dabd735de6b85b07572eb2094e3e09693d0e7 100644 (file)
@@ -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