Move subscription notifications to a separate controller
authorRoman Chvanikov <chvanikoff@pm.me>
Mon, 16 Sep 2019 18:59:49 +0000 (21:59 +0300)
committerRoman Chvanikov <chvanikoff@pm.me>
Mon, 16 Sep 2019 18:59:49 +0000 (21:59 +0300)
commit6042e21b25885f9c3214d3296d9d2fdf35ad58ea
treeb91fcc6132e5f2a50818dfde1c56690b556dfda1
parent56b60798c2282055089424f5dc6770a10876626b
Move subscription notifications to a separate controller
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/mastodon_api.ex
lib/pleroma/web/pleroma_api/pleroma_api.ex [new file with mode: 0644]
lib/pleroma/web/pleroma_api/subscription_notification_controller.ex [new file with mode: 0644]
lib/pleroma/web/pleroma_api/views/subscription_notification_view.ex [moved from lib/pleroma/web/mastodon_api/views/subscription_notification_view.ex with 93% similarity]
lib/pleroma/web/router.ex
test/web/mastodon_api/mastodon_api_controller_test.exs
test/web/pleroma_api/subscription_notification_controller_test.exs [new file with mode: 0644]