website/config/routes.yaml

13 lines
317 B
YAML
Raw Normal View History

2021-08-06 12:30:00 +02:00
error:
path: '/error/{status}'
defaults:
_controller: JeroenED\Website\Controller\DefaultController::ErrorAction
status: '404'
2021-08-05 13:51:44 +02:00
default:
path: '/{page}'
defaults:
_controller: JeroenED\Website\Controller\DefaultController::DefaultAction
2021-08-05 15:46:16 +02:00
page: 'index'
requirements:
page: "[a-zA-Z0-9\/]+"