aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/bin
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2015-08-15 13:23:41 -0400
committereileencodes <eileencodes@gmail.com>2015-08-15 13:23:41 -0400
commitf6232a518bb7377948f339d2b0b25dc607e1e42a (patch)
tree9abb862a9964a5daae743525cc83f6ee8563b08e /actionview/bin
parent8f1bbf6e82a8e4c33d5558277a14b8d979eccf02 (diff)
downloadrails-f6232a518bb7377948f339d2b0b25dc607e1e42a.tar.gz
rails-f6232a518bb7377948f339d2b0b25dc607e1e42a.tar.bz2
rails-f6232a518bb7377948f339d2b0b25dc607e1e42a.zip
Refactor how assign_parameters sets generated_path & query_string_keys
This is part of a larger refactoring on controller tests. We needed to move these methods here so that we could get rid of the `|| key == :action || key == :controller` in `assign_parameters`. We know this is ugly and intend to fix it but for now `generate_extras` needs to be used in the two methods to access the path and the query_string_keys. We're adding `:controller` and `:action` to the `query_string_keys` because we always need a controller and action. If someone passed `action` or `controller` in in there test they are unambigious - we know they have to go into the query params.
Diffstat (limited to 'actionview/bin')
0 files changed, 0 insertions, 0 deletions