Fixes PipelineInstancesControllerTest. application_controller#create now does
[arvados.git] / apps / workbench / app / models / collection.rb
index 2346a27859a944ce40b68ecaaf256555bd4dec94..a64f7e1e10c6c3ee635689cae09403963868198d 100644 (file)
@@ -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