mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
Add config.preload_frameworks to load all frameworks at startup. Default to false so Rails autoloads itself as it's used.
This commit is contained in:
@@ -100,5 +100,3 @@ autoload :Mime, 'action_controller/mime_type'
|
||||
|
||||
autoload :HTML, 'action_controller/vendor/html-scanner'
|
||||
autoload :Rack, 'action_controller/vendor/rack'
|
||||
|
||||
ActionController.load_all! unless ENV['LAZY']
|
||||
|
||||
@@ -55,5 +55,3 @@ class ERB
|
||||
end
|
||||
|
||||
I18n.load_path << "#{File.dirname(__FILE__)}/action_view/locale/en.yml"
|
||||
|
||||
ActionView.load_all! unless ENV['LAZY']
|
||||
|
||||
Reference in New Issue
Block a user