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
|
@ -109,6 +109,11 @@ module ActionDispatch
|
|||
end
|
||||
|
||||
autoload :SystemTestCase, "action_dispatch/system_test_case"
|
||||
|
||||
def eager_load!
|
||||
super
|
||||
Routing.eager_load!
|
||||
end
|
||||
end
|
||||
|
||||
autoload :Mime, "action_dispatch/http/mime_type"
|
||||
|
|
Loading…
Reference in New Issue