Actions
Patch #38093
closedUse require_relative instead of generating the full path for a file
Patch #38093:
Use require_relative instead of generating the full path for a file
Description
In the code of Redmine, you can find many require methods that builds the absolute path of a file using File.expand_path and __FILE__:
I think using `require_relative` can make those simpler and more readable, as shown below.
Files
Actions