This commit is contained in:
PaulCombal
2019-03-01 16:02:12 +01:00
parent a98aa394ac
commit 4af65e72f7
4 changed files with 102 additions and 7 deletions

View File

@@ -1,3 +1,18 @@
bluesquare_notifications_bundle_notifications:
path: /my-user
controller: Bluesquare\NotificationsBundle\Controller\MainController::myUser
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+'

View File

@@ -0,0 +1,3 @@
bluesquare_notifications_bundle_notifications_test:
path: /add-dev
controller: Bluesquare\NotificationsBundle\Controller\MainController::test