Skip to content

Commit 7643423

Browse files
committed
Merge branch '6.4' into 7.1
* 6.4: fix: remove quotes on routes
2 parents 605961e + 119c3df commit 7643423

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

routing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ arbitrary matching logic:
298298
# config/routes.yaml
299299
contact:
300300
path: /contact
301-
controller: 'App\Controller\DefaultController::contact'
301+
controller: App\Controller\DefaultController::contact
302302
condition: "context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
303303
# expressions can also include configuration parameters:
304304
# condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
@@ -307,7 +307,7 @@ arbitrary matching logic:
307307
308308
post_show:
309309
path: /posts/{id}
310-
controller: 'App\Controller\DefaultController::showPost'
310+
controller: App\Controller\DefaultController::showPost
311311
# expressions can retrieve route parameter values using the "params" variable
312312
condition: "params['id'] < 1000"
313313

0 commit comments

Comments
 (0)