app/views/users/registrations/edit.html.erb in artfully_ose-1.0.0.rc4 vs app/views/users/registrations/edit.html.erb in artfully_ose-1.1.0.rc1
- old
+ new
@@ -18,8 +18,8 @@
<p><%= f.submit "Update", :class => "btn" %></p>
<% end %>
<h3>Cancel my account</h3>
-<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure you want to cancel your account?", :method => :delete %>.</p>
+<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :data => {:confirm => "Are you sure you want to cancel your account?"}, :method => :delete %>.</p>
<%= link_to "Back", :back %>