0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/frontend/services
Naz 5a62253466 Removed "router" dependency from UrlGenerator
refs https://github.com/TryGhost/Toolbox/issues/127

- Passing around whole instance of a frontend router was an overkill when there are only 3 static pieces of information that needed to be loaded. Extracting the router out makes the UrlGenerator way more readable, tests slimer, and the memory footpring of the process should be slightly lighter
- The toString overloading didn't make sense at the time of this refactor, maybe if there's a concrete usecase we could resurect it in a form of passing in a router's name or something.
2021-11-15 18:32:34 +04:00
..
apps Refactored helper registration code into a service 2021-10-05 10:04:02 +01:00
card-assets 🐛 Fixed EACCES error from card assets on boot 2021-11-15 12:12:22 +00:00
helpers Refactored helper registration code into a service 2021-10-05 10:04:02 +01:00
routing Removed "router" dependency from UrlGenerator 2021-11-15 18:32:34 +04:00
rss Renamed bootstrap to routerManager 2021-10-19 07:29:09 +13:00
sitemap 🐛 Fixed error in sitemap with >50k posts (#13317) 2021-09-17 11:13:42 +01:00
theme-engine Added card-asset config with sensible default 2021-11-05 12:20:02 +00:00
proxy.js Moved URL service to backend 2021-10-19 07:29:09 +13:00
rendering.js Removed remaining usage of i18n & translation file 2021-10-15 11:39:07 +01:00