×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: Ruby
Posted by: Tatum Szymczak
Added: Sep 13, 2012 12:00 PM
Views: 44
Tags: delete rails
Rails delete
  1. = link_to 'Delete', @product, :data => {confirm: "Are you sure?"}, method: :delete
  2.