diff options
author | Go MAEDA <maeda@farend.jp> | 2023-01-27 04:04:20 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-01-27 04:04:20 +0000 |
commit | 894bb2f289242be7ec171b6c19161c75daaf4589 (patch) | |
tree | 1d6297fa36636e75880d630cebb8760941c36380 /extra | |
parent | fea2d3e66713a7160d58da65e7cc77c9bc134f2e (diff) | |
download | redmine-894bb2f289242be7ec171b6c19161c75daaf4589.tar.gz redmine-894bb2f289242be7ec171b6c19161c75daaf4589.zip |
Fix that Example plugin (extra/sample_plugin) breaks Activity page (#38114).
Patch by Karel Pičman.
git-svn-id: https://svn.redmine.org/redmine/trunk@22079 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r-- | extra/sample_plugin/app/models/meeting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb index 251892ece..78d801304 100644 --- a/extra/sample_plugin/app/models/meeting.rb +++ b/extra/sample_plugin/app/models/meeting.rb @@ -7,6 +7,6 @@ class Meeting < ActiveRecord::Base :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} acts_as_activity_provider :timestamp => 'scheduled_on', - :scope => proc { includes(:project) }, + :scope => proc { joins(:project) }, :permission => nil end |