mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +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/acts_as_customizable'
|
||||
require_relative 'lib/acts_as_customizable'
|
||||
ActiveRecord::Base.send(:include, Redmine::Acts::Customizable)
|
||||
|
||||
Reference in New Issue
Block a user