Fixed Delete, should work now

changed the delete link in view from link_to to button_to
(Apparently, because I'm using jquery files I have to implement it as
button_to)