Skip to content

Commit 7d3bd81

Browse files
committed
minor #6693 Add missing parameter (rodnaph)
This PR was submitted for the 3.1 branch but it was merged into the 2.8 branch instead (closes #6693). Discussion ---------- Add missing parameter $routes->import was missing the $prefix parameter. Commits ------- 1397bac Add missing parameter
2 parents bc45515 + 1397bac commit 7d3bd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/configuration/micro-kernel-trait.rst

Lines changed: 1 addition & 1 deletion
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)