Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ActionController::UrlFor request contract [ci-skip]
Using a `request` object that only "responds to the `host`, `optional_port`, `protocol`, and `symbolized_path_parameter` methods" has not been possible for a long time. For example, `symbolized_path_parameter` was renamed to `path_parameters` (without deprecation) in 925bd97. And `request.routes` and `request.original_script_name` methods became required in 87a7591. And a `request.engine_script_name` method became required in 4080dd2. Therefore, this commit updates the documentation to simply require an `ActionDispatch::Request` instance.
- Loading branch information