0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/controllers/frontend
Hannah Wolfe 06b03bbcfe Split helper functions from frontend controller
no issue

- Split out 'getPostPage' & rename to fetchData
- Split format response methods into own files
- Split out handleError
- Split out setReqCtx and rename to setRequestIsSecure
- Split out theme paths
- Refactor tests in index_spec.js to be more robust
- Add tests to bring coverage for split file up to 100%
2015-10-22 18:46:58 +01:00
..
context.js
error.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
fetch-data.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
format-response.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
index.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
secure.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00
theme-paths.js Split helper functions from frontend controller 2015-10-22 18:46:58 +01:00