Change confirm to data-confirm for Rails 4

In Rails 4 parameter :confirm for link_to is deprecated and replaced by data: {confirm : ''}.