Skip to content

Commit 1397bac

Browse files
rodnaphxabbuh
authored andcommitted
Add missing parameter
$routes->import was missing a parameter.
1 parent bc45515 commit 1397bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/configuration/micro-kernel-trait.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ to hold the kernel. Now it looks like this::
201201
// load the annotation routes
202202
$routes->mount(
203203
'/',
204-
$routes->import(__DIR__.'/../src/App/Controller/', 'annotation')
204+
$routes->import(__DIR__.'/../src/App/Controller/', '/', 'annotation')
205205
);
206206
}
207207
}

0 commit comments

Comments
 (0)