Current section
Files
Jump to
Current section
Files
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