Skip to content

Commit 894bb2f

Browse files
committed
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
1 parent fea2d3e commit 894bb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra/sample_plugin/app/models/meeting.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ class Meeting < ActiveRecord::Base
77
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}
88

99
acts_as_activity_provider :timestamp => 'scheduled_on',
10-
:scope => proc { includes(:project) },
10+
:scope => proc { joins(:project) },
1111
:permission => nil
1212
end

0 commit comments

Comments
 (0)