From 2647fdcc0da6523f74308ce87005af310876ca6e Mon Sep 17 00:00:00 2001 From: liamwhite Date: Fri, 20 Dec 2019 11:18:06 -0500 Subject: [PATCH] Update new.html.eex --- priv/templates/phx.gen.html/new.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/priv/templates/phx.gen.html/new.html.eex b/priv/templates/phx.gen.html/new.html.eex index 8298785..352781e 100644 --- a/priv/templates/phx.gen.html/new.html.eex +++ b/priv/templates/phx.gen.html/new.html.eex @@ -1,5 +1,5 @@ h1 New <%= schema.human_singular %> -= render "form.html", Map.put(assigns, :action, Routes.<%= schema.singular %>_path(@conn, :create)) += render "form.html", Map.put(assigns, :action, Routes.<%= schema.route_helper %>_path(@conn, :create)) span= link "Back", to: Routes.<%= schema.route_helper %>_path(@conn, :index)