Skip to content

Commit c9c0fd4

Browse files
committed
Clarified relationship between #914 #1001 and #809.
1 parent d31918e commit c9c0fd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

UPGRADING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ See [#889](https://github.com/intridea/grape/issues/889) for more information.
5858

5959
#### Changes to routes when using `format`
6060

61-
Now it's possible to call API with proper suffix when single `format` is defined. I. e.
61+
Version 0.10.0 has introduced a change via [#809](https://github.com/intridea/grape/pull/809) whereas routes no longer got file-type suffixes added if you declared a single API `format`. This has been reverted, it's now again possible to call API with proper suffix when single `format` is defined:
6262

6363
```ruby
6464
class API < Grape::API
@@ -74,7 +74,7 @@ Will respond with JSON to `/hello` **and** `/hello.json`.
7474

7575
Will respond with 404 to `/hello.xml`, `/hello.txt` etc.
7676

77-
See the [#1001](https://github.com/intridea/grape/pull/1001) for more info.
77+
See the [#1001](https://github.com/intridea/grape/pull/1001) and [#914](https://github.com/intridea/grape/issues/914) for more info.
7878

7979
### Upgrading to >= 0.11.0
8080

0 commit comments

Comments
 (0)