Ghost/core/frontend/services/theme-engine
Fabien 'egg' O'Carroll 9ff8d7f910
🐛 Fixed post access in the get helper (#14282)
refs https://github.com/TryGhost/Team/issues/1367

Because we are passing through a different member object as the context
in the get helper, the content gating was not working correctly, as the
member was missing a status property, this adds the property which fixes
content gating.

- Added extra tests for get helper {{access}} property
- Added extra test for {{access}} property in next_post helper
- In the future we might want to update the tests so they test the whole request -> HBS context flow. Currently the has context is still stubbed manually.
2022-03-17 11:14:29 +01:00
..
config Added card-asset config with sensible default 2021-11-05 12:20:02 +00:00
engines Moved theme engines to new theme engine service 2021-04-22 21:05:01 +01:00
handlebars Refactored helper registration code into a service 2021-10-05 10:04:02 +01:00
i18n Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00
middleware 🐛 Fixed post access in the get helper (#14282) 2022-03-17 11:14:29 +01:00
active.js Removed passing of error to active theme 2021-07-07 14:38:08 +01:00
engine.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
index.js Refactored helper registration code into a service 2021-10-05 10:04:02 +01:00
preview.js Added description to allowed preview params 2021-09-30 14:07:28 +01:00