summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2023-01-28 04:51:20 +0000
committerGo MAEDA <maeda@farend.jp>2023-01-28 04:51:20 +0000
commit4bf965cbc6b0575ae7cc9157ef9f0efe4e681260 (patch)
tree5a9ae0f765349fe0d9c02d030fb7784e9cabaa0c
parentc3fe75fc250eb1c4f5bd42348c4b5013de77c90a (diff)
downloadredmine-4bf965cbc6b0575ae7cc9157ef9f0efe4e681260.tar.gz
redmine-4bf965cbc6b0575ae7cc9157ef9f0efe4e681260.zip
Merged r22079 from trunk to 4.2-stable (#38114).
git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@22081 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--extra/sample_plugin/app/models/meeting.rb2
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