Reputation: 37
<%= link_to "Delete Party", party_path(@party.id), :method => :delete %>
a GET is always called according to the logs. I just get redirected to the same show page when I click the delete link.
Upvotes: 0
Views: 143
Reputation: 6662
The solution worked for me..
I was using jQuery 1.4.4
and facing issues with the delete link, I read somewhere about the jQuery version issue and switched to jQuery 1.4.2
and delete link worked fine for me.
Upvotes: 0