File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ arbitrary matching logic:
298
298
# config/routes.yaml
299
299
contact :
300
300
path : /contact
301
- controller : ' App\Controller\DefaultController::contact'
301
+ controller : App\Controller\DefaultController::contact
302
302
condition : " context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
303
303
# expressions can also include configuration parameters:
304
304
# condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
@@ -307,7 +307,7 @@ arbitrary matching logic:
307
307
308
308
post_show :
309
309
path : /posts/{id}
310
- controller : ' App\Controller\DefaultController::showPost'
310
+ controller : App\Controller\DefaultController::showPost
311
311
# expressions can retrieve route parameter values using the "params" variable
312
312
condition : " params['id'] < 1000"
313
313
You can’t perform that action at this time.
0 commit comments