소스 검색

Follows r1703.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1704 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.8.0-RC1
Jean-Philippe Lang 16 년 전
부모
커밋
b20281f151
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5
    0
      extra/sample_plugin/app/models/meeting.rb

+ 5
- 0
extra/sample_plugin/app/models/meeting.rb 파일 보기

@@ -1,5 +1,10 @@
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 }

Loading…
취소
저장