summaryrefslogtreecommitdiff
path: root/app/views/errors/not_found.json
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-03-30 15:38:50 -0700
committerelijah <elijah@riseup.net>2016-03-30 15:38:50 -0700
commitbd5ffce445fd91eac32ac1309297e7e3cf05ead8 (patch)
tree4d107eea848fd3501e049b3b73f81cf7b1ce7595 /app/views/errors/not_found.json
parent9a8577a2d19aa51318dce6ff9ffe1bd26f25c09e (diff)
api: added json error pages, allow "." in the :id param of all api routes
Diffstat (limited to 'app/views/errors/not_found.json')
-rw-r--r--app/views/errors/not_found.json4
1 files changed, 4 insertions, 0 deletions
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