summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-18 21:10:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-02-18 21:10:22 +0000
commitdbcdc3415d19cbfa57f24813a60154909a983278 (patch)
tree5725fa465c6d7ce43937311606338955da7f8a59 /extra
parent8ad326f1609c693fc6003cb1acfd69e82b8a20ba (diff)
downloadredmine-dbcdc3415d19cbfa57f24813a60154909a983278.tar.gz
redmine-dbcdc3415d19cbfa57f24813a60154909a983278.zip
Removed no longer used :find_options option for acts_as_activity_provider.
git-svn-id: http://svn.redmine.org/redmine/trunk@14030 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rw-r--r--extra/sample_plugin/app/models/meeting.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/sample_plugin/app/models/meeting.rb b/extra/sample_plugin/app/models/meeting.rb
index c424bdec4..62dcd8abe 100644
--- a/extra/sample_plugin/app/models/meeting.rb
+++ b/extra/sample_plugin/app/models/meeting.rb
@@ -7,5 +7,5 @@ class Meeting < ActiveRecord::Base
:url => Proc.new {|o| {:controller => 'meetings', :action => 'show', :id => o.id}}
acts_as_activity_provider :timestamp => 'scheduled_on',
- :find_options => { :include => :project }
+ :scope => includes(:project)
end