projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4291: Workbench Collection sharing buttons are actual buttons.
[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 6518047b8d161df66605bb5f34ad61132cd3bb8c..e66be83078c9f5dbe2fff3be09dcba17c5fb4bf9 100644
(file)
--- a/
apps/workbench/app/models/node.rb
+++ b/
apps/workbench/app/models/node.rb
@@
-2,7
+2,7
@@
class Node < ArvadosBase
def self.creatable?
current_user and current_user.is_admin
end
def self.creatable?
current_user and current_user.is_admin
end
- def friendly_link_name
+ def friendly_link_name
lookup=nil
(hostname && !hostname.empty?) ? hostname : uuid
end
end
(hostname && !hostname.empty?) ? hostname : uuid
end
end