Skip to content

Commit 7cd02b9

Browse files
committed
Fix upgrading
1 parent d5eb38d commit 7cd02b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UPGRADING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ Upgrading Grape
55

66
### `content_type` vs `api.format` inside API
77

8-
Before 2.3.0, `content_type` would have priority over `env['api.format']` when set in an API. The priority has been flipped and `env['api.format']` will be checked first.
8+
Before 2.3.0, `content_type` had priority over `env['api.format']` when set in an API, which was incorrect. The priority has been flipped and `env['api.format']` will be checked first.
99
In addition, the function `api_format` has been added. Instead of setting `env['api.format']` directly, you can call `api_format`.
10-
See [#2506] (https://github.com/ruby-grape/grape/pull/2506) for more information.
10+
See [#2506](https://github.com/ruby-grape/grape/pull/2506) for more information.
1111

1212
#### Remove Deprecated Methods and Options
1313

0 commit comments

Comments
 (0)