Redmine/vendor/plugins/acts_as_watchable/init.rb

4 lines
143 B
Ruby

# Include hook code here
require File.dirname(__FILE__) + '/lib/acts_as_watchable'
ActiveRecord::Base.send(:include, Redmine::Acts::Watchable)