comparison .svn/pristine/21/21220872c05ed094a0e17dfec9147a1d8f235a7a.svn-base @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 class Meeting < ActiveRecord::Base
2 belongs_to :project
3
4 acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"},
5 :datetime => :scheduled_on,
6 :author => nil,
7 :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}
8
9 acts_as_activity_provider :timestamp => 'scheduled_on',
10 :find_options => { :include => :project }
11 end