2809: Merge branch '2809-workbench-rails4' refs #2809
[arvados.git] / apps / workbench / app / views / links / _recent.html.erb
index 7548ae111f51b9f24886fe5990baef4f6e6dc953..1e60bf511d704ec4d7a6361289f940eda0364fa7 100644 (file)
@@ -38,7 +38,7 @@
 
       <td>
         <% if current_user and (current_user.is_admin or current_user.uuid == link.owner_uuid) %>
-        <%= link_to raw('<i class="glyphicon glyphicon-trash"></i>'), { action: 'destroy', id: link.uuid }, { confirm: 'Delete this link?', method: 'delete' } %>
+        <%= link_to raw('<i class="glyphicon glyphicon-trash"></i>'), { action: 'destroy', id: link.uuid }, data: {confirm: 'Delete this link?', method: 'delete'} %>
         <% end %>
       </td>