@@ -1,11 +1,11 | |||
|
1 | 1 | class Meeting < ActiveRecord::Base |
|
2 | 2 | belongs_to :project |
|
3 | 3 | |
|
4 | 4 | acts_as_event :title => Proc.new {|o| "#{o.scheduled_on} Meeting"}, |
|
5 | 5 | :datetime => :scheduled_on, |
|
6 | 6 | :author => nil, |
|
7 |
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} |
|
|
8 | ||
|
7 | :url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}} | |
|
8 | ||
|
9 | 9 | acts_as_activity_provider :timestamp => 'scheduled_on', |
|
10 | 10 | :find_options => { :include => :project } |
|
11 | 11 | end |
General Comments 0
You need to be logged in to leave comments.
Login now