Hi,
I have Ruby on Rails application with restfull links. I'm trying to write code with link_to helper, delete method and confirmation like this:
link_to image_tag('/images/cross.png'), cancel_friend_path(table_row.id), :title => t(:button_cancel_friendship), :confirm => t('friends.cancel_friendship_confirmation'), :method => :delete
Everything is ok in this browsers: chrome, firefox, opera. But in Internet Explorer 7 link doesn't works - I think, that IE doesn't support delete method. I have solved this problem, when I used button_to helper instead of link_to. Is there any way, to do this with link_to helper?
Thanks