File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments