8000
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 d868fbe + 804e019 commit 123362bCopy full SHA for 123362b
routing.rst
@@ -302,7 +302,7 @@ arbitrary matching logic:
302
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
303
304
return function (RoutingConfigurator $routes) {
305
- $routes->add('contact', '')
+ $routes->add('contact', '/contact')
306
->controller([DefaultController::class, 'contact'])
307
->condition('context.getMethod() in ["GET", "HEAD"] and request.headers.get("User-Agent") matches "/firefox/i"')
308
// expressions can also include config parameters:
0 commit comments