We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e05210f commit cbd9c93Copy full SHA for cbd9c93
lib/avo/engine.rb
@@ -30,12 +30,12 @@ class Engine < ::Rails::Engine
30
31
# What to do on file change
32
config.to_prepare do
33
- Dir.glob(avo_root_path + '/lib/avo/app/**/*.rb'.to_s).each { |c| load(c) }
+ Dir.glob(avo_root_path + '/lib/avo/app/**/*.rb'.to_s).each { |c| require(c) }
34
end
35
36
37
if Rails.env.production?
38
39
40
Avo::App.boot
41
0 commit comments