20690: Remove workbench1 and testing/packaging references.
[arvados.git] / apps / workbench / app / helpers / pipeline_components_helper.rb
diff --git a/apps/workbench/app/helpers/pipeline_components_helper.rb b/apps/workbench/app/helpers/pipeline_components_helper.rb
deleted file mode 100644 (file)
index 702772c..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright (C) The Arvados Authors. All rights reserved.
-#
-# SPDX-License-Identifier: AGPL-3.0
-
-module PipelineComponentsHelper
-  def render_pipeline_components(template_suffix, fallback=nil, locals={})
-    begin
-      render(partial: "pipeline_instances/show_components_#{template_suffix}",
-             locals: locals)
-    rescue => e
-      logger.error "#{e.inspect}"
-      logger.error "#{e.backtrace.join("\n\t")}"
-      case fallback
-      when :json
-        render(partial: "pipeline_instances/show_components_json",
-               locals: {error_name: e.inspect, backtrace: e.backtrace.join("\n\t")})
-      end
-    end
-  end
-end