Stopping of the depreciation warning

This is the warning:

   DEPRECATION WARNING: :confirm option is deprecated and will be
   removed from Rails 4.1. Use 'data: { confirm: 'Text' }' instead.

This change removes it.