diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-20 16:06:17 -0700 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-20 16:06:17 -0700 |
commit | ad619c00329fb79f8e227622bb1c0ba5db303ea2 (patch) | |
tree | fdfdc704d78674c10884bf1b8109f81976791cc2 /spec/controllers/user_controller_spec.rb | |
parent | c1b3324922687778b316ee1a180582013bcf6d0e (diff) |
Use request.params to generate a json format url when @has_json is true, not request.query_parameters. The latter has unexpected results when a querystring parameter of 'action' or 'controller' is supplied. Fixes #981.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions