mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed unnecessary parameter
no issue - The method declaration has no parameters, removed them from the method call for clarity.
This commit is contained in:
parent
c9358bdddb
commit
d0b82f418b
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class SiteMapManager {
|
|||
this.posts = options.posts || this.createPostsGenerator(options);
|
||||
this.users = this.authors = options.authors || this.createUsersGenerator(options);
|
||||
this.tags = options.tags || this.createTagsGenerator(options);
|
||||
this.index = options.index || this.createIndexGenerator(options);
|
||||
this.index = options.index || this.createIndexGenerator();
|
||||
|
||||
events.on('router.created', (router) => {
|
||||
if (router.name === 'StaticRoutesRouter') {
|
||||
|
|
Loading…
Add table
Reference in a new issue