Mercurial > hg > soundsoftware-site
annotate .svn/pristine/ac/ac26075ed3d7e3fbdfe96b667d5f07f279649046.svn-base @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
rev | line source |
---|---|
Chris@1295 | 1 class Meeting < ActiveRecord::Base |
Chris@1295 | 2 belongs_to :project |
Chris@1295 | 3 |
Chris@1295 | 4 acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, |
Chris@1295 | 5 :datetime => :scheduled_on, |
Chris@1295 | 6 :author => nil, |
Chris@1295 | 7 :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} |
Chris@1295 | 8 |
Chris@1295 | 9 acts_as_activity_provider :timestamp => 'scheduled_on', |
Chris@1295 | 10 :find_options => { :include => :project } |
Chris@1295 | 11 end |