diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-18 21:11:37 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-02-18 21:11:37 +0000 |
commit | 2277f61046131b093cf9f2260246c06217f66e81 (patch) | |
tree | 59a75f75b1a34e0a24e63f2d9b27ec37b110406d /extra | |
parent | dbcdc3415d19cbfa57f24813a60154909a983278 (diff) | |
download | redmine-2277f61046131b093cf9f2260246c06217f66e81.tar.gz redmine-2277f61046131b093cf9f2260246c06217f66e81.zip |
Added missing :permission option in sample plugin.
git-svn-id: http://svn.redmine.org/redmine/trunk@14031 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r-- | extra/sample_plugin/app/models/meeting.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb index 62dcd8abe..ca8af1021 100644 --- a/extra/sample_plugin/app/models/meeting.rb +++ b/extra/sample_plugin/app/models/meeting.rb @@ -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 |