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:
Go MAEDA
2023-01-16 21:55:30 +00:00
parent 5ebcddc023
commit 25a4be7269
10 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
# frozen_string_literal: true
require File.dirname(__FILE__) + '/lib/acts_as_customizable'
require_relative 'lib/acts_as_customizable'
ActiveRecord::Base.send(:include, Redmine::Acts::Customizable)