Mercurial > hg > soundsoftware-site
annotate .svn/pristine/21/21220872c05ed094a0e17dfec9147a1d8f235a7a.svn-base @ 1516:b450a9d58aed redmine-2.4
Update to Redmine SVN revision 13356 on 2.4-stable branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 09:28:31 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 class Meeting < ActiveRecord::Base |
Chris@909 | 2 belongs_to :project |
Chris@909 | 3 |
Chris@909 | 4 acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, |
Chris@909 | 5 :datetime => :scheduled_on, |
Chris@909 | 6 :author => nil, |
Chris@909 | 7 :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} |
Chris@909 | 8 |
Chris@909 | 9 acts_as_activity_provider :timestamp => 'scheduled_on', |
Chris@909 | 10 :find_options => { :include => :project } |
Chris@909 | 11 end |