projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
3114: When current user, show root/home project rather than user attributes when...
[arvados.git]
/
apps
/
workbench
/
app
/
controllers
/
actions_controller.rb
diff --git
a/apps/workbench/app/controllers/actions_controller.rb
b/apps/workbench/app/controllers/actions_controller.rb
index d1dc0fca354b7969d77317ec161a58d5f245ea62..265cff456ce760a1c850582def2bd709d3e750fb 100644
(file)
--- a/
apps/workbench/app/controllers/actions_controller.rb
+++ b/
apps/workbench/app/controllers/actions_controller.rb
@@
-42,6
+42,7
@@
class ActionsController < ApplicationController
def move_or_copy action
uuids_to_add = params["selection"]
+ uuids_to_add = [ uuids_to_add ] unless uuids_to_add.is_a? Array
uuids_to_add.
collect { |x| ArvadosBase::resource_class_for_uuid(x) }.
uniq.