projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 3112-report-bug
[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 695f7703204dfdaf7eb306a77ab0eb14d8008340..939cac34ffa312a1485929f77c00d53d08811fda 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"]
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.
uuids_to_add.
collect { |x| ArvadosBase::resource_class_for_uuid(x) }.
uniq.
@@
-186,8
+187,7
@@
class ActionsController < ApplicationController
end
def report_issue
end
def report_issue
- $stderr.puts "Issue being reported with these parameters: #{params.inspect}"
- logger.warn "Issue being reported with these parameters: #{params.inspect}"
+ logger.warn "report_issue: #{params.inspect}"
respond_to do |format|
IssueReporter.send_report(current_user, params).deliver
respond_to do |format|
IssueReporter.send_report(current_user, params).deliver