X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6b0ad588b44ee30cd400e85031b56dcb2a8ac567..cdb8b00dc0e9f4b8840c75c6c8f7b6b8f8fe5133:/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 265cff456c..939cac34ff 100644 --- a/apps/workbench/app/controllers/actions_controller.rb +++ b/apps/workbench/app/controllers/actions_controller.rb @@ -178,4 +178,21 @@ class ActionsController < ApplicationController redirect_to controller: 'collections', action: :show, id: newc.uuid end + def report_issue_popup + @popup_params = params + respond_to do |format| + format.js + format.html + end + end + + def report_issue + logger.warn "report_issue: #{params.inspect}" + + respond_to do |format| + IssueReporter.send_report(current_user, params).deliver + format.js + end + end + end