Extract report actions from MastodonAPIController to ReportController

Update MastodonAPI.ReportView
This commit is contained in:
Egor Kislitsyn 2019-09-30 17:04:03 +07:00
commit b7f27a4f58
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
6 changed files with 106 additions and 96 deletions

View file

@ -396,7 +396,7 @@ defmodule Pleroma.Web.Router do
get("/pleroma/mascot", MastodonAPIController, :get_mascot)
put("/pleroma/mascot", MastodonAPIController, :set_mascot)
post("/reports", MastodonAPIController, :reports)
post("/reports", ReportController, :create)
end
scope [] do