upgrade to phoenix 1.7
This commit is contained in:
10
lib/cannery_web/components/email_html.ex
Normal file
10
lib/cannery_web/components/email_html.ex
Normal file
@ -0,0 +1,10 @@
|
||||
defmodule CanneryWeb.EmailHTML do
|
||||
@moduledoc """
|
||||
Renders email templates
|
||||
"""
|
||||
|
||||
use CanneryWeb, :html
|
||||
|
||||
embed_templates "email_html/*.html", suffix: "_html"
|
||||
embed_templates "email_html/*.txt", suffix: "_text"
|
||||
end
|
Reference in New Issue
Block a user