Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (8 sloc) 0.39 kb
plugin_path = File.dirname __FILE__
# Loading localization files
I18n.load_path += Dir[File.join(plugin_path, 'config', 'locales', '*.{rb,yml}')]
# Loading Helper
ActionView::Base.class_eval 'include ActsAsCategoryHelper'
# Loading acts_as_*
ActiveRecord::Base.class_eval 'include ActiveRecord::Acts::Category'
ActiveRecord::Base.class_eval 'include ActiveRecord::Acts::CategoryContent'
Jump to Line
Something went wrong with that request. Please try again.