annotate .svn/pristine/3f/3f6eeecb089d9f691d285e568d733dd55d35c465.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 require 'awesome_nested_set/compatability'
Chris@909 2 require 'awesome_nested_set'
Chris@909 3
Chris@909 4 ActiveRecord::Base.class_eval do
Chris@909 5 include CollectiveIdea::Acts::NestedSet
Chris@909 6 end
Chris@909 7
Chris@909 8 if defined?(ActionView)
Chris@909 9 require 'awesome_nested_set/helper'
Chris@909 10 ActionView::Base.class_eval do
Chris@909 11 include CollectiveIdea::Acts::NestedSet::Helper
Chris@909 12 end
Chris@909 13 end