Merge branch 'master' into 4062-infinite-scroll-repeat-issue
[arvados.git] / apps / workbench / app / models / collection.rb
index 87a083e24be4ee62d3e52cc5336bb6516ef2d5b2..b5347dce00f24c64a388baac1dd9011935ab99c9 100644 (file)
@@ -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?