X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1bb9f9ca3ffe077f2d90d7de65fbee37a717ef23..0b4f867ef14af38c07b910643fbe8cc6a93e6bb6:/apps/workbench/app/models/collection.rb diff --git a/apps/workbench/app/models/collection.rb b/apps/workbench/app/models/collection.rb index 2346a27859..a64f7e1e10 100644 --- a/apps/workbench/app/models/collection.rb +++ b/apps/workbench/app/models/collection.rb @@ -8,6 +8,10 @@ class Collection < ArvadosBase !!locator.to_s.match("^#{MD5_EMPTY}(\\+.*)?\$") end + def self.goes_in_folders? + true + end + def content_summary human_readable_bytes_html(total_bytes) + " " + super end @@ -43,7 +47,7 @@ class Collection < ArvadosBase dir_to_tree.call('.') end - def attribute_editable?(attr) + def attribute_editable? attr, *args false end