Advertisement
geapsi

Link_to rails

Nov 8th, 2016
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 0.14 KB | None | 0 0
  1. <%= link_to "Deletar", recipe_path(@recipe), :class => "btn btn-danger", method: :delete, data:{ confirm: "Deseja deletar esta receita?"} %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement