We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 16e8708 + e37c540 commit 3cb0eb7Copy full SHA for 3cb0eb7
en/development/routing.rst
@@ -637,6 +637,10 @@ the ``$options`` argument::
637
$routes->connect('/{controller}');
638
});
639
640
+Note the additional route parameters will be added to all the connected routes defined
641
+inside the prefix block. You will need to use all the parameters in the url array to
642
+build the route later, if you don't use them you'll get a ``MissingRouteException``.
643
+
644
Multi word prefixes are by default converted using dasherize inflection, ie ``MyPrefix``
645
would be mapped to ``my-prefix`` in the URL. Make sure to set a path for such prefixes
646
if you want to use a different format like for example underscoring::
0 commit comments