diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb index c1bb64a..c424bde 100644 --- a/extra/sample_plugin/app/models/meeting.rb +++ b/extra/sample_plugin/app/models/meeting.rb @@ -4,8 +4,8 @@ class Meeting < ActiveRecord::Base 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}} - + :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} + acts_as_activity_provider :timestamp => 'scheduled_on', :find_options => { :include => :project } end