0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/utils
Katharina Irrgang 88eab9898c Moved fetching client out of our ghost_head helper (#9180)
refs #8995

- move the getClient lookup from ghost_head into middleware
- use res.locals to keep track of the information (res.locals.client)
- make the middleware global to all frontend routes
- ghost_head: get locals from options.data not this (!)
- adapt lot's of tests
2017-10-26 12:03:53 +02:00
..
fixtures Increase minimum password length to 10 characters (#9152) 2017-10-18 17:45:41 +01:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js 🔥 Removed certain fields from public user response (#9069) 2017-09-28 14:00:52 +01:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
channelUtils.js Group channel-handling code together 2017-10-25 18:48:47 +01:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
fork.js Tests: Sort out usage of content folder in tests (#9034) 2017-09-21 15:05:35 +01:00
index.js Moved fetching client out of our ghost_head helper (#9180) 2017-10-26 12:03:53 +02:00