summaryrefslogtreecommitdiffstats
path: root/lib/plugins/acts_as_tree/init.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/plugins/acts_as_tree/init.rb')
-rw-r--r--lib/plugins/acts_as_tree/init.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/acts_as_tree/init.rb b/lib/plugins/acts_as_tree/init.rb
index cb8394e97..36d1193d0 100644
--- a/lib/plugins/acts_as_tree/init.rb
+++ b/lib/plugins/acts_as_tree/init.rb
@@ -1,4 +1,4 @@
# frozen_string_literal: true
-require File.dirname(__FILE__) + '/lib/active_record/acts/tree'
+require_relative 'lib/active_record/acts/tree'
ActiveRecord::Base.send :include, ActiveRecord::Acts::Tree