mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-19 18:12:01 +00:00
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
This commit is contained in:
parent
fea2d3e667
commit
894bb2f289
@ -7,6 +7,6 @@ class Meeting < ActiveRecord::Base
|
|||||||
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}
|
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}
|
||||||
|
|
||||||
acts_as_activity_provider :timestamp => 'scheduled_on',
|
acts_as_activity_provider :timestamp => 'scheduled_on',
|
||||||
:scope => proc { includes(:project) },
|
:scope => proc { joins(:project) },
|
||||||
:permission => nil
|
:permission => nil
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user