0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/server/services/routing
Katharina Irrgang cd690efad1 🐛 Dynamic Routing Beta: Disallow using author resource and author data key name (#9790)
* 🐛 Dynamic Routing Beta: Shortform `author.foo` is not allowed

refs #9601

- otherwise you get access to {{author}} in the theme, which is deprecated & causes errors
- recommend not using {{author}} as data longform name in the yaml validator
- (internal usage is still allowed)
- also warn against using reserved data key names like filter, resource, limit etc - maybe remove this restriction later but seems like a sensible validation right now.
2018-08-16 12:13:24 +02:00
..
assets 🐛 Dynamic Routing Beta: Disallow using author resource and author data key name (#9790) 2018-08-16 12:13:24 +02:00
controllers Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
helpers Changed comments and deprecation notes 2018-08-16 12:13:24 +02:00
middlewares
bootstrap.js 🔥 Removed permalink setting 2018-08-16 12:13:24 +02:00
CollectionRouter.js 🔥 Removed permalink setting 2018-08-16 12:13:24 +02:00
index.js
ParentRouter.js Fixed express router reference after routes.yaml refresh 2018-08-16 12:13:24 +02:00
PreviewRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
registry.js Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
RSSRouter.js
StaticPagesRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
StaticRoutesRouter.js 🐛 Dynamic Routing Beta: Fixed wrong template order for static routes 2018-08-16 12:13:24 +02:00
TaxonomyRouter.js 🐛 Dynamic Routing Beta: Disallow using author resource and author data key name (#9790) 2018-08-16 12:13:24 +02:00