X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/754495b451fb7dc65fe2d2c43fa4876638b0be66..1f7dbdb87eee28f7f357c025f7b5cd7d1ccc8c7a:/apps/workbench/app/models/collection.rb diff --git a/apps/workbench/app/models/collection.rb b/apps/workbench/app/models/collection.rb index 87a083e24b..b5347dce00 100644 --- a/apps/workbench/app/models/collection.rb +++ b/apps/workbench/app/models/collection.rb @@ -66,12 +66,8 @@ class Collection < ArvadosBase dir_to_tree.call('.') end - def attribute_editable? attr, *args - if %w(name description manifest_text).include? attr.to_s - true - else - super - end + def editable_attributes + %w(name description manifest_text) end def self.creatable?