[#394] Added users.tags and admin routes to tag and untag users. Added tests.

This commit is contained in:
Ivan Tashkinov 2018-12-06 20:06:50 +03:00
commit 7b19487389
8 changed files with 139 additions and 2 deletions

View file

@ -0,0 +1,9 @@
defmodule Pleroma.Web.ControllerHelper do
use Pleroma.Web, :controller
def json_response(conn, status, json) do
conn
|> put_status(status)
|> json(json)
end
end