Browse Source

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
tags/5.1.0
Go MAEDA 1 year ago
parent
commit
894bb2f289
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      extra/sample_plugin/app/models/meeting.rb

+ 1
- 1
extra/sample_plugin/app/models/meeting.rb View File

@@ -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

Loading…
Cancel
Save