Mercurial > hg > soundsoftware-site
annotate .svn/pristine/21/21220872c05ed094a0e17dfec9147a1d8f235a7a.svn-base @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +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 |