我想添加有趣的图标
<i class="fa fa-trash-o"></i>
代替"Destroy“
<%= link_to 'Destroy', post_path(post), method: :delete, data: { confirm: 'Are you sure?' } %>
https://stackoverflow.com/questions/19985836
相似问题