Added some documentation and renamed variables after Tim's review.
[arvados.git] / apps / workbench / app / controllers / pipeline_instances_controller.rb
index 4853b0aaf1c6bcff43ae6f8663308f45ce4b3ef5..221ed87ad7081af9cd1f015700570cc020a2be14 100644 (file)
@@ -50,17 +50,6 @@ class PipelineInstancesController < ApplicationController
     return provenance, pips
   end
 
-  def create
-    @object = PipelineInstance.new params[:pipeline_instance]
-    @object.save!
-    if !@object.components.andand.any? and @object.pipeline_template_uuid
-      template = PipelineTemplate.find(@object.pipeline_template_uuid)
-      @object.components = template.components.deep_dup
-      @object.save!
-    end
-    super
-  end
-
   def show
     @pipelines = [@object]