0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/frontend/services/routing
Hannah Wolfe 03b0139ef9
Allow page to be used as post in dynamic routing
closes: https://github.com/TryGhost/Ghost/issues/10042
closes: https://github.com/TryGhost/Ghost/issues/14206

- the fact that pages are exposed as .page in dynamic routing has never played nicely
- this fix changes nothing in the tests - which shows this was never a covered case
- ideally I should add some tests, but for now this tiny change should prevent a lot of dynamic routing pain
- note, it doesn't remove .page, it just adds .post, so both work
2022-05-27 15:11:34 +01:00
..
controllers Allow page to be used as post in dynamic routing 2022-05-27 15:11:34 +01:00
middleware Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
CollectionRouter.js 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
config.js Renamed preview files to previews 2022-04-28 15:37:14 +01:00
EmailRouter.js Fixed Email Router naming in docs and debug call 2022-04-28 15:37:14 +01:00
index.js Moved routing helpers to rendering service 2022-04-05 20:12:20 +01:00
ParentRouter.js 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
PreviewRouter.js Renamed preview files to previews 2022-04-28 15:37:14 +01:00
registry.js Removed event chain caused by settings date update 2021-10-19 07:29:09 +13:00
router-manager.js Moved frontend reloading logic into bridge 2022-04-28 15:37:09 +01:00
RSSRouter.js
StaticPagesRouter.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
StaticRoutesRouter.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
TaxonomyRouter.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
UnsubscribeRouter.js