Mercurial > hg > soundsoftware-site
annotate .svn/pristine/ac/ac26075ed3d7e3fbdfe96b667d5f07f279649046.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 | 038ba2d95de8 |
children |
rev | line source |
---|---|
Chris@1296 | 1 class Meeting < ActiveRecord::Base |
Chris@1296 | 2 belongs_to :project |
Chris@1296 | 3 |
Chris@1296 | 4 acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, |
Chris@1296 | 5 :datetime => :scheduled_on, |
Chris@1296 | 6 :author => nil, |
Chris@1296 | 7 :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} |
Chris@1296 | 8 |
Chris@1296 | 9 acts_as_activity_provider :timestamp => 'scheduled_on', |
Chris@1296 | 10 :find_options => { :include => :project } |
Chris@1296 | 11 end |