projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Workbench is able to put together a graph from the provenance document served by...
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
collection.rb
diff --git
a/apps/workbench/app/models/collection.rb
b/apps/workbench/app/models/collection.rb
index cfbb6405041a41f5efb0de50f11ab6dbbf179835..94a2b959164200e874869a8f15b6e9724e04b7c3 100644
(file)
--- a/
apps/workbench/app/models/collection.rb
+++ b/
apps/workbench/app/models/collection.rb
@@
-12,4
+12,8
@@
class Collection < ArvadosBase
def attribute_editable?(attr)
false
end
def attribute_editable?(attr)
false
end
+
+ def provenance
+ $arvados_api_client.api "collections/#{self.uuid}/", "provenance"
+ end
end
end