Ghost/core/test
Hannah Wolfe 254e0f0597 Improve API error handling
close #2757, refs #5286

- moves error formatting from api/index into errors lib
- moves error handling from api/index into its own middleware
- adds extra middleware for method not allowed which captures all unsupported routes
2015-06-15 10:08:30 +01:00
..
functional Throw 405 - Method not allowed for api routes 2015-06-15 09:43:39 +01:00
integration Ensure importer tests don't clash 2015-06-03 18:46:45 +01:00
unit Improve API error handling 2015-06-15 10:08:30 +01:00
utils Prevent multiple owner creation via importer 2015-05-15 10:12:30 +01:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00