class PipelineInstance < ArvadosBase
attr_accessor :pipeline_template
- def self.goes_in_folders?
+ def self.goes_in_projects?
true
end
end
def attribute_editable? attr, *args
- super(attr, *args) && (attr.to_sym == :name ||
- (attr.to_sym == :components and
- (self.state == 'New' || self.state == 'Ready')))
+ super && (attr.to_sym == :name ||
+ (attr.to_sym == :components and
+ (self.state == 'New' || self.state == 'Ready')))
end
def attributes_for_display