mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
18344a16e2
refs https://linear.app/tryghost/issue/CORE-104/decouple-frontend-routing-events-from-urlserver-events - The 'settings.timezone.edited' event triggers a roundtrip chain of calls in the frontend routing to the url services. It was all handled by event listeners and handler that clearly don't belong there. - Extracted event realted listeners/handlers into methods and moved most of the logic to the "bootstrap" module, which soon is going to become a "RoutesManger" - The result of this refactor - no more events going back and forth between frontend routing and the backend! |
||
---|---|---|
.. | ||
config | ||
controllers | ||
helpers | ||
middlewares | ||
bootstrap.js | ||
CollectionRouter.js | ||
EmailRouter.js | ||
index.js | ||
ParentRouter.js | ||
PreviewRouter.js | ||
registry.js | ||
RSSRouter.js | ||
StaticPagesRouter.js | ||
StaticRoutesRouter.js | ||
TaxonomyRouter.js | ||
UnsubscribeRouter.js |