Move notification actions to PleromaAPI.NotificationController
authorEgor Kislitsyn <egor@kislitsyn.com>
Wed, 20 May 2020 11:14:11 +0000 (15:14 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Wed, 20 May 2020 11:15:13 +0000 (15:15 +0400)
commit5ba6e1c322c0937849eca53fc816f348659fb34c
treea4cd1b07029036d51a8c8fad9b57deffd4fa9b7c
parentf3fc8b22b1dca8d432d066417e2bb9b62a3f1520
Move notification actions to PleromaAPI.NotificationController
lib/pleroma/web/api_spec/operations/pleroma_notification_operation.ex [moved from lib/pleroma/web/api_spec/operations/pleroma_operation.ex with 89% similarity]
lib/pleroma/web/pleroma_api/controllers/notification_controller.ex [new file with mode: 0644]
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex [deleted file]
lib/pleroma/web/router.ex
test/web/pleroma_api/controllers/notification_controller_test.exs [moved from test/web/pleroma_api/controllers/pleroma_api_controller_test.exs with 97% similarity]