news-reader-php/config/routes.yaml

28 lines
638 B
YAML
Raw Normal View History

2020-05-25 23:32:57 +02:00
start:
path: /
controller: App\Controller\BucketController::index
buckets:
path: /buckets/
controller: App\Controller\BucketController::index
2020-05-26 12:56:15 +02:00
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
entry-mark-as-read:
path: /entry/{slug}/mark/read
controller: App\Controller\EntryController::read
entry-mark-as-un-read:
path: /entry/{slug}/mark/un-read
controller: App\Controller\EntryController::unRead