X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f34a8d68bdd096cf1b019a9806bd1e6eba028d77..28b6afc1e8ccf652c7a8fd43e22a8ac788febd85:/apps/workbench/app/controllers/collections_controller.rb diff --git a/apps/workbench/app/controllers/collections_controller.rb b/apps/workbench/app/controllers/collections_controller.rb index 680c324f5c..812b80b8ce 100644 --- a/apps/workbench/app/controllers/collections_controller.rb +++ b/apps/workbench/app/controllers/collections_controller.rb @@ -258,7 +258,7 @@ class CollectionsController < ApplicationController arv_coll.rm "."+p end - if @object.update_attributes manifest_text: arv_coll.manifest_text + if @object.update manifest_text: arv_coll.manifest_text show else self.render_error status: 422 @@ -289,7 +289,7 @@ class CollectionsController < ApplicationController else arv_coll.rename "./"+file_path, new_file_path - if @object.update_attributes manifest_text: arv_coll.manifest_text + if @object.update manifest_text: arv_coll.manifest_text show else self.render_error status: 422