git-svn-id: http://redmine.rubyforge.org/svn/trunk@1704 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/0.8.0-RC1
class Meeting < ActiveRecord::Base | class Meeting < ActiveRecord::Base | ||||
belongs_to :project | belongs_to :project | ||||
acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, | |||||
:datetime => :scheduled_on, | |||||
:author => nil, | |||||
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} | |||||
acts_as_activity_provider :timestamp => 'scheduled_on', | acts_as_activity_provider :timestamp => 'scheduled_on', | ||||
:find_options => { :include => :project } | :find_options => { :include => :project } |