1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib
Remo Fritzsche a0061d2389 Pass along arguments to underlying get method in follow_redirect! (#33299)
* Allow get arguments for follow_redirect

Now all arguments passed to `follow_redirect!` are passed to the
underlying `get` method. This for example allows to set custom headers
for the redirection request to the server.

This is especially useful for setting headers that may, outside of the
testing environment, be set automatically on every request, i.e. by a
web application firewall.

* Allow get arguments for follow_redirect

[Remo Fritzsche + Rafael Mendonça França]
2018-07-05 16:51:52 -04:00
..
abstract_controller
action_controller Convert hashes into parameters (#33076) 2018-06-19 15:38:26 -04:00
action_dispatch Pass along arguments to underlying get method in follow_redirect! (#33299) 2018-07-05 16:51:52 -04:00
action_pack
abstract_controller.rb
action_controller.rb
action_dispatch.rb
action_pack.rb