Ghost/core/server/services/routing
cotko 65a66ac007 Included relations if static resource is post | page (#10148)
refs #10082

- this is a requirement if a static route represents a single resource

e.g. `data: page.team`

- the page resource will no longer live on it's original static url
- instead, it now lives somewhere else
- that means the whole site needs to act the same than the original static url
  - the resource does not contain any relations
  - we don't forward the correct context (page, post, user?)
- we override the `include` property for now
  - need to wait for more use cases or bug reports for this controller
- more changes will follow asap
2018-12-03 19:26:21 +01:00
..
assets Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
controllers Included relations if static resource is post | page (#10148) 2018-12-03 19:26:21 +01:00
helpers Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
middlewares Removed /index from requires 2018-10-04 17:39:04 +02:00
bootstrap.js 🐛Fixed sitemap duplicates after routes.yaml upload (#9957) 2018-10-08 10:29:21 +07:00
CollectionRouter.js Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
ParentRouter.js Replaced setPrototypeOf with Object.setPrototypeOf 2018-09-20 17:50:57 +02:00
PreviewRouter.js Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
registry.js Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
RSSRouter.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
StaticPagesRouter.js Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00
StaticRoutesRouter.js 🐛 Dynamic Routing Beta: Fixed wrong template order for static routes 2018-08-16 12:13:24 +02:00
TaxonomyRouter.js Renamed /users to /authors for Content API V2 (#10096) 2018-11-07 15:29:37 +01:00