send notification user method working

This commit is contained in:
isUnknown 2024-10-30 10:56:11 +01:00
parent 14f409abec
commit 9752fffae6
7 changed files with 67 additions and 18 deletions

View file

@ -3,5 +3,8 @@
Kirby::plugin('adrienpayet/pdc-notifications', [
'routes' => [
require(__DIR__ . '/routes/mark-as-read.php'),
],
'userMethods' => [
'sendNotification' => require(__DIR__ . '/user-methods/send.php')
]
]);