diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-27 19:10:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-07-27 19:10:56 +0000 |
commit | 3a4855d070c6305a587afd31c9814cfdf479c66b (patch) | |
tree | d821fb3ae1d1d2fb5ed4aead6c98d2581943d2c3 /extra/sample_plugin/app | |
parent | d05bcda2bad6bc54b1aaaf91c93ca9c6976c4b66 (diff) | |
download | redmine-3a4855d070c6305a587afd31c9814cfdf479c66b.tar.gz redmine-3a4855d070c6305a587afd31c9814cfdf479c66b.zip |
Activity provider example in sample plugin.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1703 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra/sample_plugin/app')
-rw-r--r-- | extra/sample_plugin/app/models/meeting.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb new file mode 100644 index 000000000..89ecd5253 --- /dev/null +++ b/extra/sample_plugin/app/models/meeting.rb @@ -0,0 +1,6 @@ +class Meeting < ActiveRecord::Base + belongs_to :project + + acts_as_activity_provider :timestamp => 'scheduled_on', + :find_options => { :include => :project } +end |