Skip to content

Commit

Permalink
Update new.html.eex (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamwhite authored and doomspork committed Jan 9, 2020
1 parent d8af8bc commit 13cbb50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/templates/phx.gen.html/new.html.eex
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 13cbb50

Please sign in to comment.