Current section

Files

Jump to
curator priv templates curator.approvable.install email.ex
Raw

priv/templates/curator.approvable.install/email.ex

def approvable(user) do
# url = <%= inspect context.web_module %>.Router.Helpers.approvable_url(<%= inspect context.web_module %>.Endpoint, :edit, token_id)
%Email{}
|> from(email_from())
|> to(approvable_emails())
|> subject("#{site_name()}: Account Approval")
|> render_body("approvable.html", %{email: user.email})
end
defp approvable_emails do
raise "TODO"
end