Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit123362b

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Add missing path in PHP routing configuration example
2 parentsd868fbe +804e019 commit123362b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎routing.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ arbitrary matching logic:
302302
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
303303
304304
return function (RoutingConfigurator $routes) {
305-
$routes->add('contact', '')
305+
$routes->add('contact', '/contact')
306306
->controller([DefaultController::class, 'contact'])
307307
->condition('context.getMethod() in ["GET", "HEAD"] and request.headers.get("User-Agent") matches "/firefox/i"')
308308
// expressions can also include config parameters:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp