summaryrefslogtreecommitdiffstats
path: root/extra/sample_plugin/app/models/meeting.rb
diff options
context:
space:
mode:
Diffstat (limited to 'extra/sample_plugin/app/models/meeting.rb')
-rw-r--r--extra/sample_plugin/app/models/meeting.rb6
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