symfony-notifications/NotificationsBundle/Resources/config/routes.yaml

19 lines
618 B
YAML
Raw Normal View History

2019-03-01 16:02:12 +01:00
bluesquare_notifications_bundle_notifications_get:
path: /get
controller: Bluesquare\NotificationsBundle\Controller\MainController::getAll
methods: [GET]
bluesquare_notifications_bundle_notifications_delete:
path: /delete/{id}
controller: Bluesquare\NotificationsBundle\Controller\MainController::delete
methods: [DELETE]
requirements:
id: '\d+'
bluesquare_notifications_bundle_notifications_mark_seen:
path: /mark-seen/{id}
controller: Bluesquare\NotificationsBundle\Controller\MainController::markSeen
methods: [POST]
requirements:
id: '\d+'