projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
20846: Remove deprecated Random::DEFAULT usage.
[arvados.git]
/
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 680c324f5cd0255fb89f1ce6b2ed9333a0e7603a..812b80b8ce739a93066771cdd488243c84da5187 100644
(file)
--- 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
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
show
else
self.render_error status: 422
@@
-289,7
+289,7
@@
class CollectionsController < ApplicationController
else
arv_coll.rename "./"+file_path, new_file_path
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
show
else
self.render_error status: 422