0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/frontend/services/routing/controllers
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
..
channel.js 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
collection.js 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
email-post.js 🔥 Removed support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
entry.js Fixed /edit shortcut route for pages 2022-05-17 14:31:31 +08:00
index.js Renamed preview files to previews 2022-04-28 15:37:14 +01:00
previews.js Reworked preview controller output 2022-05-17 17:21:38 +08:00
rss.js Moved routing helpers to rendering service 2022-04-05 20:12:20 +01:00
static.js Allow page to be used as post in dynamic routing 2022-05-27 15:11:34 +01:00
unsubscribe.js Removed GA feature flags (#14915) 2022-05-26 09:54:30 +02:00