0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/services/routing
kirrg001 c5bad55d6f Dynamic Routing Beta: StaticRoutesRouter has to respect the route name
refs #9601

- this was already working for collections or channels
- but the `routeName` was not parsed for static routes
- ensure we push the route name into the context object

e.g. /about/: about

-> name of the route is "about"
2018-06-26 19:06:42 +02:00
..
assets Dynamic Routing Beta: Added resource config 2018-06-24 02:06:58 +02:00
controllers Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
helpers Dynamic Routing Beta: Added ability to disable+override rss (#9693) 2018-06-26 01:33:29 +02:00
middlewares Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
bootstrap.js Dynamic Routing Beta: Reordered router hierarchy 2018-06-24 02:06:58 +02:00
CollectionRouter.js 🐛 Fixed dated urls when timezone changes 2018-06-26 18:18:11 +02:00
index.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
ParentRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +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 Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
StaticPagesRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
StaticRoutesRouter.js Dynamic Routing Beta: StaticRoutesRouter has to respect the route name 2018-06-26 19:06:42 +02:00
TaxonomyRouter.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00