projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55f5486
)
6087: Remove unneeded CollectionsController#update special case.
author
Tom Clegg <tom@curoverse.com>
Wed, 3 Jun 2015 16:05:11 +0000
(12:05 -0400)
committer
Tom Clegg <tom@curoverse.com>
Thu, 4 Jun 2015 12:56:40 +0000
(08:56 -0400)
ArvadosBase#save now covers the general case of omitting unchanged attributes.
apps/workbench/app/controllers/collections_controller.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/app/controllers/collections_controller.rb
b/apps/workbench/app/controllers/collections_controller.rb
index d4ea86c535913f7e688b494db7cf23631735968c..e01151ca408b567ec9908349bdfd7a51bcd15a2f 100644
(file)
--- a/
apps/workbench/app/controllers/collections_controller.rb
+++ b/
apps/workbench/app/controllers/collections_controller.rb
@@
-273,15
+273,6
@@
class CollectionsController < ApplicationController
sharing_popup
end
- def update
- @updates ||= params[@object.resource_param_name.to_sym]
- if @updates && (@updates.keys - ["name", "description"]).empty?
- # exclude manifest_text since only name or description is being updated
- @object.manifest_text = nil
- end
- super
- end
-
protected
def find_usable_token(token_list)