news-reader-php/config/routes.yaml
Daniel Siepmann 8efad3e1fd
Add import of feed entries
Basic import of entries from feeds.
Also make imported feeds accessible in frontend.
2020-05-29 00:44:32 +02:00

18 lines
435 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
entry:
path: /entry/{slug}
controller: App\Controller\EntryController::show