From d658a7d3177aab3e5c82fa6ebf0d70e614643a54 Mon Sep 17 00:00:00 2001 From: Marcelo Boeira Date: Fri, 4 Mar 2016 16:45:12 -0300 Subject: [PATCH] Add missing ' to close string --- UPGRADING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADING.md b/UPGRADING.md index 042d669dee..b5adeff49b 100644 --- a/UPGRADING.md +++ b/UPGRADING.md @@ -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.