9426: save "tags" as "properties" on collection, rather than as a field in properties.
[arvados.git] / apps / workbench / app / controllers / collections_controller.rb
index 99399bc9c2dc745c7d04e9842039346b7c082bab..515cdf1867fba103fce298daf7cf2ecd755d1f8d 100644 (file)
@@ -360,10 +360,7 @@ class CollectionsController < ApplicationController
     end
 
     if tags
-      props = @object.properties
-      props[:tags] = tags
-
-      if @object.update_attributes properties: props
+      if @object.update_attributes properties: tags
         @saved_tags = true
         render
       else