0

我有以下链接:

<%= link_to "", skill_path(skill), :class => "button-delete", :method => :delete,
 :remote => true %>

单击链接时,将出现以下确认弹出窗口:

This web page is being redirected to a new location. Would you like to resend 
 the form data you have typed to the new location?

问题是我从未创建过此确认。如果我删除 ":remote => true",确认就会消失。但我需要“:remote => true”,因为我需要网站工作的方式。此外,如果我在确认消息中单击“确定”,该消息会再次出现,但不会将我带到实际页面。在 safari 中,确认没有显示,但新页面仍然没有加载。有谁知道如何解决这一问题?

4

0 回答 0