Extract conversation actions from MastodonAPIController to ConversationController

This commit is contained in:
Egor Kislitsyn 2019-09-30 16:52:07 +07:00
commit d4d88b3361
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
6 changed files with 116 additions and 106 deletions

View file

@ -344,8 +344,8 @@ defmodule Pleroma.Web.Router do
get("/suggestions", MastodonAPIController, :suggestions)
get("/conversations", MastodonAPIController, :conversations)
post("/conversations/:id/read", MastodonAPIController, :conversation_read)
get("/conversations", ConversationController, :index)
post("/conversations/:id/read", ConversationController, :read)
get("/endorsements", MastodonAPIController, :empty_array)
end