diff --git a/cookbook/configuration/micro-kernel-trait.rst b/cookbook/configuration/micro-kernel-trait.rst index 65da709719f..35590baa971 100644 --- a/cookbook/configuration/micro-kernel-trait.rst +++ b/cookbook/configuration/micro-kernel-trait.rst @@ -195,7 +195,7 @@ to hold the kernel. Now it looks like this:: // load the annotation routes $routes->mount( '/', - $routes->import(__DIR__.'/../src/App/Controller/', 'annotation') + $routes->import(__DIR__.'/../src/App/Controller/', '/', 'annotation') ); } }