website/config/routes.yaml

7 lines
177 B
YAML

default:
path: '/{page}'
defaults:
_controller: JeroenED\Website\Controller\DefaultController::DefaultAction
page: 'index'
requirements:
page: "[a-zA-Z0-9\/]+"