Extract report actions from `MastodonAPIController` to `ReportController`
authorEgor Kislitsyn <egor@kislitsyn.com>
Mon, 30 Sep 2019 10:04:03 +0000 (17:04 +0700)
committerEgor Kislitsyn <egor@kislitsyn.com>
Mon, 30 Sep 2019 10:44:10 +0000 (17:44 +0700)
commitb7f27a4f584e54b13d0b7c1b288ad3e7bffcf95a
tree6c2c2f3165a5a5232599a65449d249aab44c66e2
parent90537f398160eddfb8033c1cdfe1acc21ee63c4a
Extract report actions from `MastodonAPIController` to `ReportController`

Update MastodonAPI.ReportView
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex
lib/pleroma/web/mastodon_api/controllers/report_controller.ex [new file with mode: 0644]
lib/pleroma/web/mastodon_api/views/report_view.ex
lib/pleroma/web/router.ex
test/web/mastodon_api/controllers/report_controller_test.exs [new file with mode: 0644]
test/web/mastodon_api/mastodon_api_controller_test.exs