mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix eager loading of ActionDispatch::Routing
Followup: https://github.com/rails/rails/pull/44612 As rightfully pointed out by @rafaelfranca
This commit is contained in:
parent
54c7357769
commit
490f2b72cc
1 changed files with 5 additions and 0 deletions
|
@ -109,6 +109,11 @@ module ActionDispatch
|
||||||
end
|
end
|
||||||
|
|
||||||
autoload :SystemTestCase, "action_dispatch/system_test_case"
|
autoload :SystemTestCase, "action_dispatch/system_test_case"
|
||||||
|
|
||||||
|
def eager_load!
|
||||||
|
super
|
||||||
|
Routing.eager_load!
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
autoload :Mime, "action_dispatch/http/mime_type"
|
autoload :Mime, "action_dispatch/http/mime_type"
|
||||||
|
|
Loading…
Reference in a new issue