Mercurial > hg > soundsoftware-site
view .svn/pristine/ac/ac26075ed3d7e3fbdfe96b667d5f07f279649046.svn-base @ 1386:e4c393cebb1a luisf
Merger from testing branch.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 24 Sep 2013 16:25:05 +0100 |
parents | 038ba2d95de8 |
children |
line wrap: on
line source
class Meeting < ActiveRecord::Base belongs_to :project acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, :datetime => :scheduled_on, :author => nil, :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} acts_as_activity_provider :timestamp => 'scheduled_on', :find_options => { :include => :project } end