annotate .svn/pristine/21/21220872c05ed094a0e17dfec9147a1d8f235a7a.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +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