Mercurial > hg > soundsoftware-site
view vendor/plugins/awesome_nested_set/rails/init.rb @ 625:e1eb4996257f feature_36
Minor tweak to layout for list of projects for publication
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 24 Aug 2011 16:27:01 +0100 |
parents | 513646585e45 |
children |
line wrap: on
line source
require 'awesome_nested_set/compatability' require 'awesome_nested_set' ActiveRecord::Base.class_eval do include CollectiveIdea::Acts::NestedSet end if defined?(ActionView) require 'awesome_nested_set/helper' ActionView::Base.class_eval do include CollectiveIdea::Acts::NestedSet::Helper end end