0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit/web/middleware
kirrg001 987e41e8d6 Attached api version to res.locals context
refs #9866

- each request get's the ghost api version attached
- this makes it possible to access the version in all steps (routing, theme helpers)
2018-10-18 19:41:07 +02:00
..
api Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
image Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
cache-control_spec.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
ghost-locals_spec.js Attached api version to res.locals context 2018-10-18 19:41:07 +02:00
serve-favicon_spec.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
serve-public-file_spec.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
static-theme_spec.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00
theme-handler_spec.js Tidy up unit test files (#9340) 2017-12-14 03:36:50 +01:00
uncapitalise_spec.js Extended uncapitalise unit tests (#9891) 2018-09-20 22:27:38 +02:00
url-redirects_spec.js Refactored web/middleware and web/utils to web/shared (#9892) 2018-09-20 20:04:34 +02:00