projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Enable warning_as_errors for tests
[akkoma]
/
lib
/
pleroma
/
web
/
controller_helper.ex
1
defmodule Pleroma.Web.ControllerHelper do
2
use Pleroma.Web, :controller
3
4
def json_response(conn, status, json) do
5
conn
6
|> put_status(status)
7
|> json(json)
8
end
9
end