1
0
Fork 0

Move mod/notifications to Module\Notification

This commit is contained in:
Philipp Holzer 2020-01-22 23:18:14 +01:00
commit fa6c33d3ac
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 456 additions and 375 deletions

View file

@ -167,6 +167,15 @@ return [
'/nodeinfo/{version}' => [Module\NodeInfo::class, [R::GET]],
'/nogroup' => [Module\Group::class, [R::GET]],
'/notifications' => [
'/network[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
'/system[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
'/personal[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
'/home[/json]' => [Module\Notifications\Notifications::class, [R::GET, R::POST]],
'/intros[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
'/intros/all[/json]' => [Module\Notifications\Introductions::class, [R::GET, R::POST]],
],
'/notify' => [
'[/]' => [Module\Notifications\Notify::class, [R::GET]],
'/view/{id:\d+}' => [Module\Notifications\Notify::class, [R::GET]],