website/config/routes.yaml

14 lines
292 B
YAML
Raw Normal View History

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