Merge pull request #2210 from steverob/master

Changed link_to to button_to for cancel registration link in edit registration view
This commit is contained in:
José Valim
2013-01-11 14:25:55 -08:00

View File

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