mirror of
https://github.com/github/rails.git
synced 2026-01-25 14:28:28 -05:00
Don't include .rb suffix in core_ext requires
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
Dir[File.dirname(__FILE__) + "/core_ext/*.rb"].sort.each do |path|
|
||||
filename = File.basename(path)
|
||||
filename = File.basename(path, '.rb')
|
||||
require "active_support/core_ext/#{filename}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user