diff --git a/user_guide_src/source/extending/core_classes/002.php b/user_guide_src/source/extending/core_classes/002.php index 68d22ff508b8..a176459afc60 100644 --- a/user_guide_src/source/extending/core_classes/002.php +++ b/user_guide_src/source/extending/core_classes/002.php @@ -12,7 +12,7 @@ public static function routes(bool $getShared = true) return static::getSharedInstance('routes'); } - return new \App\Libraries\RouteCollection(static::locator(), config('Modules')); + return new \App\Libraries\RouteCollection(static::locator(), config(Modules::class), config(Routing::class)); } // ...