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 @@ -302,7 +302,7 @@ arbitrary matching logic:
302
302
# config/routes.yaml
303
303
contact :
304
304
path : /contact
305
- controller : ' App\Controller\DefaultController::contact'
305
+ controller : App\Controller\DefaultController::contact
306
306
condition : " context.getMethod() in ['GET', 'HEAD'] and request.headers.get('User-Agent') matches '/firefox/i'"
307
307
# expressions can also include configuration parameters:
308
308
# condition: "request.headers.get('User-Agent') matches '%app.allowed_browsers%'"
@@ -311,7 +311,7 @@ arbitrary matching logic:
311
311
312
312
post_show :
313
313
path : /posts/{id}
314
- controller : ' App\Controller\DefaultController::showPost'
314
+ controller : App\Controller\DefaultController::showPost
315
315
# expressions can retrieve route parameter values using the "params" variable
316
316
condition : " params['id'] < 1000"
317
317
You can’t perform that action at this time.
0 commit comments