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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to