1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add load hook for ActionDispatch::Request

This commit is contained in:
George Claghorn 2019-11-06 15:50:23 -05:00
parent 43863bfc57
commit cbdea0ef38
2 changed files with 3 additions and 0 deletions

View file

@ -428,3 +428,5 @@ module ActionDispatch
end
end
end
ActiveSupport.run_load_hooks :action_dispatch_request, ActionDispatch::Request

View file

@ -1523,6 +1523,7 @@ To hook into the initialization process of one of the following classes use the
| `ActionController::Base` | `action_controller` |
| `ActionController::TestCase` | `action_controller_test_case` |
| `ActionDispatch::IntegrationTest` | `action_dispatch_integration_test` |
| `ActionDispatch::Request` | `action_dispatch_request` |
| `ActionDispatch::SystemTestCase` | `action_dispatch_system_test_case` |
| `ActionMailbox::Base` | `action_mailbox` |
| `ActionMailbox::InboundEmail` | `action_mailbox_inbound_email` |