0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/frontend
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 Replaced moment with luxon in amp helper (#13683) 2021-10-28 20:10:53 +01:00
helpers Added middleware for serving minified card assets 2021-11-05 11:41:03 +00:00
meta Added fallbacks when the site title is undefined 2021-10-27 12:18:57 +02:00
public Moved public folder to frontend 2021-10-16 19:27:34 +01:00
services Removed "router" dependency from UrlGenerator 2021-11-15 18:32:34 +04:00
src/cards Refined frontend style for toggle cards 2021-11-15 16:43:23 +05:30
views Updated unsubscribe.hbs (#13365) 2021-10-04 12:18:42 +01:00
web Removed unuseful comment 2021-11-13 01:01:28 +13:00