Mercurial > hg > soundsoftware-site
view vendor/plugins/awesome_nested_set/rails/init.rb @ 1086:5ebdeb79ea9c feature_550
Add "My Page" box for my projects. Currently this also affects the layout of the non-My-Page version of the My Projects list, need to adjust that
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 23 Nov 2012 14:29:55 +0000 |
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