mirror of https://github.com/rails/rails
Previews paths should not be eager loaded
Right now they are being eager loaded that means they are being loaded in the production environment unnecessarily. All we need is for those paths to be autoloaded in development, so code reload works.
This commit is contained in:
parent
46608c9398
commit
83138ce2dd
|
@ -68,7 +68,7 @@ module Rails
|
|||
paths.add "vendor", load_path: true
|
||||
paths.add "vendor/assets", glob: "*"
|
||||
|
||||
paths.add "test/mailers/previews", eager_load: true
|
||||
paths.add "test/mailers/previews", autoload: true
|
||||
|
||||
paths
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue