]> source.dussan.org Git - redmine.git/commitdiff
Added missing :permission option in sample plugin.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 18 Feb 2015 21:11:37 +0000 (21:11 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 18 Feb 2015 21:11:37 +0000 (21:11 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@14031 e93f8b46-1217-0410-a6f0-8f06a7374b81

extra/sample_plugin/app/models/meeting.rb

index 62dcd8abe00e135e9632a6c9fca2280a202f6172..ca8af1021240f3b45f763cf482d5bfe2ab6f9025 100644 (file)
@@ -7,5 +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 => includes(:project)
+                            :scope => includes(:project),
+                            :permission => nil
 end