Read files recursively.
This commit is contained in:
parent
fc47f04ba8
commit
9b7b5f0069
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
# load all core_ext extentions
|
# load all core_ext extentions
|
||||||
Dir["#{Rails.root}/lib/core_ext/*"].each {|file|
|
Dir.glob("#{Rails.root}/lib/core_ext/**/*").each {|file|
|
||||||
if File.file?(file)
|
if File.file?(file)
|
||||||
require file
|
require file
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue