1
0
Fork 0
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:
Jean Boussier 2022-03-04 17:34:52 +01:00
parent 54c7357769
commit 490f2b72cc

View file

@ -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"