lib/generators/authentication/templates/views/passwords/edit.html.erb.tt in authentication-zero-0.0.11 vs lib/generators/authentication/templates/views/passwords/edit.html.erb.tt in authentication-zero-0.0.12
- old
+ new
@@ -1,9 +1,9 @@
<p style="color: red"><%%= alert %></p>
<h1>Change your password</h1>
-<%%= form_with(model: @<%= model_resource_name %>, url: password_path) do |form| %>
+<%%= form_with(model: @<%= model_resource_name %>, url: passwords_path) do |form| %>
<%% if @<%= singular_table_name %>.errors.any? %>
<div style="color: red">
<h2><%%= pluralize(@<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</h2>
<ul>