mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Reworded UrlService's init documentation
refs https://github.com/TryGhost/Toolbox/issues/125 - The "init" method pattern is not used across the codebase and it's pretty standard to start the service in this way. Previous description was outdated and misguiding
This commit is contained in:
parent
39b480682f
commit
963df37aaa
1 changed files with 1 additions and 4 deletions
|
@ -281,10 +281,7 @@ class UrlService {
|
|||
}
|
||||
|
||||
/**
|
||||
* @description Internal helper to re-trigger fetching resources on theme change.
|
||||
*
|
||||
* @TODO: Either remove this helper or rename to `_init`, because it's a little confusing,
|
||||
* because this service get's initalised via events.
|
||||
* @description Initializes components needed for the URL Service to function
|
||||
*/
|
||||
async init() {
|
||||
this.resources.initResourceConfig();
|
||||
|
|
Loading…
Add table
Reference in a new issue