Update confirm syntax
This commit is contained in:
parent
7e2c1d58f6
commit
7c7d780719
2 changed files with 4 additions and 4 deletions
|
@ -38,6 +38,6 @@
|
|||
|
||||
= link_to 'Bearbeiten', edit_supplier_path(@supplier)
|
||||
|
|
||||
= link_to 'Löschen', supplier_path(@supplier), :confirm => 'Bist du sicher?', :method => :delete
|
||||
= link_to 'Löschen', supplier_path(@supplier), data: { confirm: 'Bist du sicher?' }, :method => :delete
|
||||
|
|
||||
= link_to 'Zurück', suppliers_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue