projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[#114] Addressed MR comments. Removed functionality to be extracted to other MRs.
[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