diff options
author | Jorge Bejar <jorge@wyeworks.com> | 2015-12-03 15:19:25 -0300 |
---|---|---|
committer | Jorge Bejar <jorge@wyeworks.com> | 2015-12-09 10:53:46 -0300 |
commit | 84e8accd6fb83031e4c27e44925d7596655285f7 (patch) | |
tree | c9636ca6fdd2413fb7f8e4a610798d172ed732f0 /actionpack/test/dispatch | |
parent | fa092512a00f6055326ae22e7b0d3218e8921a99 (diff) | |
download | rails-84e8accd6fb83031e4c27e44925d7596655285f7.tar.gz rails-84e8accd6fb83031e4c27e44925d7596655285f7.tar.bz2 rails-84e8accd6fb83031e4c27e44925d7596655285f7.zip |
Do not add format key to request_params
I did this change but it is affecting how the request params end up
after being processed by the router.
To be in the safe side, I just take the format from the extension in the
URL when is not present in those params and it's being used only for the
`Request#formats` method
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 1b711e1bf8..8972f3e74d 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -3272,7 +3272,6 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest expected_params = { controller: 'downloads', action: 'show', - format: 'tar', id: '1' } |