Payment delete bug fix

This commit is contained in:
PhyoTheingi
2017-06-06 10:50:51 +06:30
parent 7b457400b2
commit 231eec6a01
2 changed files with 2 additions and 3 deletions

View File

@@ -2,8 +2,7 @@
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= %>">Home</a></li>
<li>Settings</li>
<li>Menu Item Option</li>
<li><a href="<%= settings_menu_item_options_path %>">Menu Item Options</a></li>
<span style="float: right">
</span>
</ul>

View File

@@ -34,7 +34,7 @@
<td><%= settings_payment_method_setting.auth_token %></td>
<td><%= settings_payment_method_setting.merchant_account_id %></td>
<td><%= link_to 'Edit', edit_settings_payment_method_setting_path(settings_payment_method_setting) %>
| <%= link_to 'Destroy', settings_payment_method_settings_path(settings_payment_method_setting), method: :delete, data: { confirm: 'Are you sure?' } %></td>
| <%= link_to 'Destroy', settings_payment_method_setting_path(settings_payment_method_setting), method: :delete, data: { confirm: 'Are you sure?' } %></td>
</tr>
<% end %>
</tbody>