test_app/app/views/nifs/index.html.haml in nifval-0.2.1 vs test_app/app/views/nifs/index.html.haml in nifval-0.2.2

- old
+ new

@@ -8,8 +8,9 @@ - @nifs.each do |nif| %tr %td= nif.value %td= link_to 'Show', nif %td= link_to 'Edit', edit_nif_path(nif) - %td= link_to 'Destroy', nif, :confirm => 'Are you sure?', :method => :delete + %td= button_to 'Destroy', nif, :confirm => 'Are you sure?', :method => :delete %br/ = link_to 'New Nif', new_nif_path +