projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '11095-cwl-control-reuse' closes #11095
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
container.rb
diff --git
a/apps/workbench/app/models/container.rb
b/apps/workbench/app/models/container.rb
index bee82ef73b81e6202c64a07c1ee47aa46e7ec498..cf1de691c30af579c54905e42081f9417587c09f 100644
(file)
--- a/
apps/workbench/app/models/container.rb
+++ b/
apps/workbench/app/models/container.rb
@@
-1,3
+1,9
@@
class Container < ArvadosBase
+ def self.creatable?
+ false
+ end
+ def work_unit(label=nil, child_objects=nil)
+ ContainerWorkUnit.new(self, label, self.uuid, child_objects=child_objects)
+ end
end