diff --git a/config/routes.yaml b/config/routes.yaml index 1c98148..8008419 100644 --- a/config/routes.yaml +++ b/config/routes.yaml @@ -2,4 +2,6 @@ default: path: '/{page}' defaults: _controller: JeroenED\Website\Controller\DefaultController::DefaultAction - page: 'index' \ No newline at end of file + page: 'index' + requirements: + page: "[a-zA-Z0-9\/]+" \ No newline at end of file