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:
parent
1c4faa7d8a
commit
13f35d80a9
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Add table
Reference in a new issue