Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-01-09 17:52:26 +01:00
parent 8ac705d8c2
commit 92d2045735
97 changed files with 18243 additions and 1544 deletions

View File

@@ -1,3 +1,15 @@
defmodule EventosWeb.AccountView do
use EventosWeb, :view
def render("account.json", %{"account": account}) do
%{
username: account.username,
description: account.description,
display_name: account.display_name,
domain: account.domain,
suspended: account.suspended,
uri: account.uri,
url: account.url,
}
end
end