mirror of
https://github.com/github/rails.git
synced 2026-01-26 06:48:59 -05:00
config.load_paths should be frozen [#728 state:resolved]
This commit is contained in:
@@ -243,6 +243,7 @@ module Rails
|
||||
end
|
||||
|
||||
# Freeze the arrays so future modifications will fail rather than do nothing mysteriously
|
||||
configuration.load_paths.freeze
|
||||
configuration.load_once_paths.freeze
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user