socialforge/lib/plugins/acts_as_watchable/init.rb

4 lines
143 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
# Include hook code here
require File.dirname(__FILE__) + '/lib/acts_as_watchable'
ActiveRecord::Base.send(:include, Redmine::Acts::Watchable)