10079: add "parent" to work_unit to aid the child display
[arvados.git] / apps / workbench / app / models / container.rb
index bee82ef73b81e6202c64a07c1ee47aa46e7ec498..e683a6e4f2b28e501ce7adb3574c12db796b73b4 100644 (file)
@@ -1,3 +1,9 @@
 class Container < ArvadosBase
+  def self.creatable?
+    false
+  end
 
+  def work_unit(label=nil)
+    ContainerWorkUnit.new(self, label, self.uuid)
+  end
 end