news-reader-php/config/routes.yaml

14 lines
350 B
YAML

# Static pages / templates
start:
path: /
controller: Symfony\Bundle\FrameworkBundle\Controller\TemplateController
defaults:
template: 'static/start.html.twig'
bucket:
path: /bucket/{slug}
controller: App\Controller\BucketController::show
feed:
path: /feed/{slug}
controller: App\Controller\FeedController::show