mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
2c0300389c
Before this change, handle_positional_args would end up mutating @segment_keys if inner_options included path components. Subsequent calls would then be missing the implicit path components. eg: user_path(1, :json) # => "/users/1.json" (correct) user_path(1, format: :json) # => "/users/1.json" (correct, but @segment_keys was mutated) user_path(1, :json) # => "/users/1" (oh no!) |
||
---|---|---|
.. | ||
request | ||
routing | ||
session | ||
system_testing | ||
callbacks_test.rb | ||
cookies_test.rb | ||
debug_exceptions_test.rb | ||
exception_wrapper_test.rb | ||
executor_test.rb | ||
header_test.rb | ||
live_response_test.rb | ||
mapper_test.rb | ||
middleware_stack_test.rb | ||
mime_type_test.rb | ||
mount_test.rb | ||
prefix_generation_test.rb | ||
rack_cache_test.rb | ||
reloader_test.rb | ||
request_id_test.rb | ||
request_test.rb | ||
response_test.rb | ||
routing_assertions_test.rb | ||
routing_test.rb | ||
runner_test.rb | ||
show_exceptions_test.rb | ||
ssl_test.rb | ||
static_test.rb | ||
test_request_test.rb | ||
test_response_test.rb | ||
uploaded_file_test.rb | ||
url_generation_test.rb |