projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
9043: Complete support for editing basic parameter types.
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
node.rb
diff --git
a/apps/workbench/app/models/node.rb
b/apps/workbench/app/models/node.rb
index e67dd9ea591df543b50d0f0684bdd936516bfdf8..8bf98c6decb3865054c6339105c688f2ec89fcf4 100644
(file)
--- a/
apps/workbench/app/models/node.rb
+++ b/
apps/workbench/app/models/node.rb
@@
-1,3
+1,8
@@
class Node < ArvadosBase
class Node < ArvadosBase
- attr_accessor :object
+ def self.creatable?
+ false
+ end
+ def friendly_link_name lookup=nil
+ (hostname && !hostname.empty?) ? hostname : uuid
+ end
end
end