mirror of https://github.com/rails/rails
Merge pull request #42267 from hahmed/ha/fix-sentance-in-testing-integration
[ci skip] Improve sentence around setting xhr:true
This commit is contained in:
commit
3bd6b688d0
|
@ -199,7 +199,7 @@ module ActionDispatch
|
||||||
# merged into the Rack env hash.
|
# merged into the Rack env hash.
|
||||||
# - +env+: Additional env to pass, as a Hash. The headers will be
|
# - +env+: Additional env to pass, as a Hash. The headers will be
|
||||||
# merged into the Rack env hash.
|
# merged into the Rack env hash.
|
||||||
# - +xhr+: Set to +true+ if you want to make and Ajax request.
|
# - +xhr+: Set to +true+ if you want to make an Ajax request.
|
||||||
# Adds request headers characteristic of XMLHttpRequest e.g. HTTP_X_REQUESTED_WITH.
|
# Adds request headers characteristic of XMLHttpRequest e.g. HTTP_X_REQUESTED_WITH.
|
||||||
# The headers will be merged into the Rack env hash.
|
# The headers will be merged into the Rack env hash.
|
||||||
# - +as+: Used for encoding the request with different content type.
|
# - +as+: Used for encoding the request with different content type.
|
||||||
|
|
Loading…
Reference in New Issue