projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
3504: Use preload_links_for_objects in projects_controller. Use
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
collection.rb
diff --git
a/apps/workbench/app/models/collection.rb
b/apps/workbench/app/models/collection.rb
index 1f3e0dc5ac41a0ef1cc07fbc77e67ac0fcc95b37..78b0c363762883d6a7075b0c501b8cba77acf116 100644
(file)
--- a/
apps/workbench/app/models/collection.rb
+++ b/
apps/workbench/app/models/collection.rb
@@
-78,7
+78,7
@@
class Collection < ArvadosBase
def uuid
if self[:uuid].nil?
- return self
.portable_data_hash
+ return self
[:portable_data_hash]
else
super
end
@@
-86,7
+86,7
@@
class Collection < ArvadosBase
def portable_data_hash
if self[:portable_data_hash].nil?
- return self
.uuid
+ return self
[:uuid]
else
super
end