mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
03b0139ef9
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 |
||
---|---|---|
.. | ||
controllers | ||
middleware | ||
CollectionRouter.js | ||
config.js | ||
EmailRouter.js | ||
index.js | ||
ParentRouter.js | ||
PreviewRouter.js | ||
registry.js | ||
router-manager.js | ||
RSSRouter.js | ||
StaticPagesRouter.js | ||
StaticRoutesRouter.js | ||
TaxonomyRouter.js | ||
UnsubscribeRouter.js |