0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00
ghost/core/server/routes
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
..
admin.js Have /ghost use its own express instance 2014-09-19 08:57:13 +00:00
api.js Improve API error handling 2015-06-15 10:08:30 +01:00
frontend.js Ensure middleware functions are named 2015-06-02 14:49:18 +01:00
index.js Add jscs task to grunt file and clean up files to adhere to jscs rules. 2014-09-17 21:44:29 -04:00