1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

use data-confirm option as :confirm was deprecated in rails 3.2.6

This commit is contained in:
Vasiliy Ermolovich 2012-06-14 22:27:32 +03:00
parent 1c4faa7d8a
commit 13f35d80a9

View file

@ -20,6 +20,6 @@
<h3>Cancel my account</h3>
<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete %>.</p>
<p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete %>.</p>
<%= link_to "Back", :back %>