Merge branch 'master' into 3654-combine-selections
[arvados.git] / apps / workbench / app / views / collections / _show_files.html.erb
index 8dbc9ba138c86e8f182cd3b719492c53dde71b1c..c830e857848d81060b65eb8b9d9bd5aca91213be 100644 (file)
@@ -4,11 +4,11 @@
       <div class="btn-group btn-group-sm">
         <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
         <ul class="dropdown-menu" role="menu">
-          <li><%= link_to "Combine selections into a new collection", '/combine_selected',
-                  'data-href' => url_for('/combine_selected'),
+          <li><%= link_to "Combine selections into a new collection", '#',
+                  'data-href' => combine_selected_path,
                   'data-selection-param-name' => 'selection[]',
                   'data-selection-action' => 'combine-collections',
-                  'data-remote' => true,
+                  'method' => 'post',
                   'data-toggle' => 'dropdown'
             %></li>
         </ul>