Commit dc96280
authored
Fix missing Location header in 0.9.x (#1362)
* Add failing test to demonstrate regression
It looks like this test was originally added as part of the Location
header work, but was subsequently removed.
See: cerebris/jsonapi-resources@933750c
* Fix location header to be set correctly, fixes #1361
Previously, a change had been make to use string keys instead of symbol keys, see
cerebris/jsonapi-resources@010f024
The change did not update how the location header was set to also use string keys.
This PR resolves the issue by also using a string key.1 parent 8cdc9dd commit dc96280
File tree
2 files changed
+2
-1
lines changed- lib/jsonapi
- test/controllers
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| 594 | + | |
594 | 595 | | |
595 | 596 | | |
596 | 597 | | |
| |||
0 commit comments