Skip to content

Commit 44d58cd

Browse files
committed
[ci skip] Add changelog entry for 86754a8
1 parent dcf639f commit 44d58cd

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

actionpack/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
* Use accept header in integration tests with `as: :json`
2+
3+
Instead of appending the `format` to the request path. Rails will figure
4+
out the format from the header instead.
5+
6+
This allows devs to use `:as` on routes that don't have a format.
7+
8+
Fixes #27144.
9+
10+
*Kasper Timm Hansen*
11+
112
* Reset a new session directly after its creation in ActionDispatch::IntegrationTest#open_session.
213

314
Fixes #22742.

0 commit comments

Comments
 (0)