3654: little cleanup around the post method
[arvados.git] / apps / workbench / app / views / collections / _show_recent.html.erb
index e2dcd891ad9bad264029567df804f994770b12a4..1b0834d3f00b7691098eed3b4cdaec0883903e53 100644 (file)
@@ -5,11 +5,7 @@
         <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", '#',
-                  'data-href' => combine_selected_path(
-                    action_href: actions_path,
-                    action_method: 'post',
-                    action_data_from_params: ['selection'],
-                  ),
+                  'data-href' => combine_selected_path,
                   'data-selection-param-name' => 'selection[]',
                   'data-selection-action' => 'combine-collections',
                   'data-remote' => true,