atdc/web/modules/custom/example/example.routing.yml
Oliver Davies 99204d78df Add lesson 3
- Add failing blog page test.
- Add custom routing, need to create Controller.
- Add BlogPageController.
- Test posts are visible.
2024-01-09 01:18:45 +00:00

8 lines
167 B
YAML

example.blog:
path: /blog
defaults:
_controller: Drupal\example\Controller\BlogPageController
_title: Blog
requirements:
_permission: access content