[ARVADOS] updated: 2e255fb4aa0a1b7e0acfb1298a1625629ca18846
git at public.curoverse.com
git at public.curoverse.com
Sat Sep 6 00:37:02 EDT 2014
Summary of changes:
apps/workbench/app/views/collections/_show_files.html.erb | 6 +-----
apps/workbench/app/views/collections/_show_recent.html.erb | 6 +-----
apps/workbench/app/views/projects/_show_tab_contents.html.erb | 3 ---
3 files changed, 2 insertions(+), 13 deletions(-)
via 2e255fb4aa0a1b7e0acfb1298a1625629ca18846 (commit)
from 08b394b0df66374a75dab082ca858dda6e4beae3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 2e255fb4aa0a1b7e0acfb1298a1625629ca18846
Author: radhika <radhika at curoverse.com>
Date: Sat Sep 6 00:36:32 2014 -0400
3654: little cleanup around the post method
diff --git a/apps/workbench/app/views/collections/_show_files.html.erb b/apps/workbench/app/views/collections/_show_files.html.erb
index 581d74e..cf46965 100644
--- a/apps/workbench/app/views/collections/_show_files.html.erb
+++ b/apps/workbench/app/views/collections/_show_files.html.erb
@@ -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,
diff --git a/apps/workbench/app/views/collections/_show_recent.html.erb b/apps/workbench/app/views/collections/_show_recent.html.erb
index e2dcd89..1b0834d 100644
--- a/apps/workbench/app/views/collections/_show_recent.html.erb
+++ b/apps/workbench/app/views/collections/_show_recent.html.erb
@@ -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,
diff --git a/apps/workbench/app/views/projects/_show_tab_contents.html.erb b/apps/workbench/app/views/projects/_show_tab_contents.html.erb
index 1a2d141..986a202 100644
--- a/apps/workbench/app/views/projects/_show_tab_contents.html.erb
+++ b/apps/workbench/app/views/projects/_show_tab_contents.html.erb
@@ -6,9 +6,6 @@
<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'],
action_data: {selection_param: 'project'}.to_json
),
'data-selection-param-name' => 'selection[]',
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list