From 35b3ac2b1076e46833b1be28ae1177ca68c23c19 Mon Sep 17 00:00:00 2001 From: Rhodri Pugh Date: Tue, 28 Jun 2016 21:48:33 +0100 Subject: [PATCH] Add missing parameter $routes->import was missing a parameter. --- cookbook/configuration/micro-kernel-trait.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') ); } }