Преглед на файлове

Added missing :permission option in sample plugin.

git-svn-id: http://svn.redmine.org/redmine/trunk@14031 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.0.0
Jean-Philippe Lang преди 9 години
родител
ревизия
2277f61046
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2
    1
      extra/sample_plugin/app/models/meeting.rb

+ 2
- 1
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

Loading…
Отказ
Запис