From bd5ffce445fd91eac32ac1309297e7e3cf05ead8 Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 30 Mar 2016 15:38:50 -0700 Subject: api: added json error pages, allow "." in the :id param of all api routes --- app/views/errors/not_found.json | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/views/errors/not_found.json (limited to 'app/views/errors/not_found.json') diff --git a/app/views/errors/not_found.json b/app/views/errors/not_found.json new file mode 100644 index 0000000..2fcc629 --- /dev/null +++ b/app/views/errors/not_found.json @@ -0,0 +1,4 @@ +{ + "error": "not_found", + "message": "Not Found" +} \ No newline at end of file -- cgit v1.2.3