app/views/devise/registrations/edit.html.erb in enju_leaf-1.3.3.1 vs app/views/devise/registrations/edit.html.erb in enju_leaf-1.3.4.rc.1
- old
+ new
@@ -1,9 +1,9 @@
<div id="content_detail" class="ui-corner-all ui-widget-content">
<h2 class="title"><%= t('activerecord.models.registration') %></h2>
<div id="content_list">
-<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
+<%= form_for(resource, as: resource_name, url: user_registration_path, html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
<div class="field">
<%= f.label :current_password %><br />
<%= f.password_field :current_password, autocomplete: "off" %>