0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/frontend/services/routing
Nazar Gargol 157820419a 🐛 Fixed error when rendering static page from dynamic route
no issue

- When having following routes.yaml configuation and theme runing API v3:
routes:
  /:
    data: page.home
    template: home

- There was an internall error in meta layer: `Cannot read property 'website' of undefined` which was caused by not being able to read primary_author on a fetched page
- We need to include authors and tags for pages, the same way we do for posts to prevent this error (as they should have identical properties from meta layer perspective)
2019-11-25 18:34:37 +07:00
..
config 🔥 Removed V1 code/references in frontend resources/routing layer (#11087) 2019-09-10 11:41:42 +02:00
controllers 🐛 Fixed error when rendering static page from dynamic route 2019-11-25 18:34:37 +07:00
helpers Removed meaningless code comment 2019-11-19 16:24:04 +00:00
middlewares 🔥 Removed RSS pagination (#11069) 2019-09-02 11:34:13 +01:00
bootstrap.js Add a fallback API version, allows tests to pass 2019-11-08 17:24:10 +07:00
CollectionRouter.js
index.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
ParentRouter.js
PreviewRouter.js
registry.js
RSSRouter.js 🔥 Removed RSS pagination (#11069) 2019-09-02 11:34:13 +01:00
settings.js Moved settings dynamicRouting to routing.settings 2019-06-21 16:34:17 +02:00
StaticPagesRouter.js
StaticRoutesRouter.js 💡Changed static router - throw 400 for missing tpl 2019-09-06 15:41:42 +01:00
TaxonomyRouter.js 🔒 Added admin:redirects config option for disabling admin redirects 2019-09-12 12:40:12 +01:00