mirror of
https://github.com/redmine/redmine.git
synced 2025-11-02 11:25:55 +01:00
Use require_relative instead of File.dirname(__FILE__) + ... (#38093).
Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22052 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user