0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/test/unit/services/routing
kirrg001 af58de0490 🐛 Fixed dated urls when timezone changes
no issue

- discovered while testing (issue doesn't exist)
- with dynamic routing we have introduced a bug
- we pre-generate urls and if your permalink contains a date (dated permalink),
  we have to regenerate the urls, otherwise the dated urls do not respect your blog timezone
- collection router has to subscribe to the timezone event
- collection router must trigger an update on it's url generator if the timezone changes and the it's permalink is dated
- ensure we also update the urls on import
2018-06-26 18:18:11 +02:00
..
controllers Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
helpers Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
middlewares
CollectionRouter_spec.js 🐛 Fixed dated urls when timezone changes 2018-06-26 18:18:11 +02:00
ParentRouter_spec.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00
registry_spec.js Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
RSSRouter_spec.js
StaticRoutesRouter_spec.js Dynamic Routing Beta: Added ability to disable+override rss (#9693) 2018-06-26 01:33:29 +02:00
TaxonomyRouter_spec.js Dynamic Routing Beta: Refactor res.routerOptions (#9705) 2018-06-26 01:12:50 +02:00