Skip to content

Commit

Permalink
Merge pull request ruby-grape#1303 from marceloboeira/patch-1
Browse files Browse the repository at this point in the history
Add missing ' to close string
  • Loading branch information
dblock committed Mar 6, 2016
2 parents 674e7e4 + d658a7d commit d718708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ error!({ message: 'No such page.', id: 'missing_page' }, 404, { 'Content-Type' =
`error!` also supports just passing a message. `error!('Server error.')` and `format: :json` returns the following JSON response

```
{ 'error': 'Server error. }
{ 'error': 'Server error.' }
```

with a status code of 500 and a Content Type of text/error.
Expand Down

0 comments on commit d718708

Please sign in to comment.