Activity provider example in sample plugin.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1703 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class Meeting < ActiveRecord::Base
|
||||
belongs_to :project
|
||||
|
||||
acts_as_activity_provider :timestamp => 'scheduled_on',
|
||||
:find_options => { :include => :project }
|
||||
end
|
||||
Reference in New Issue
Block a user