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)