소스 검색

Fix that Example plugin (extra/sample_plugin) breaks Activity page (#38114).

Patch by Karel Pičman.


git-svn-id: https://svn.redmine.org/redmine/trunk@22079 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/5.1.0
Go MAEDA 1 년 전
부모
커밋
894bb2f289
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      extra/sample_plugin/app/models/meeting.rb

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

@@ -7,6 +7,6 @@ class Meeting < ActiveRecord::Base
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}

acts_as_activity_provider :timestamp => 'scheduled_on',
:scope => proc { includes(:project) },
:scope => proc { joins(:project) },
:permission => nil
end

Loading…
취소
저장