projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
4233: bug fixes for previous refactor and also now display series for rss and swap...
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
node.rb
1
class Node < ArvadosBase
2
def self.creatable?
3
current_user and current_user.is_admin
4
end
5
def friendly_link_name lookup=nil
6
(hostname && !hostname.empty?) ? hostname : uuid
7
end
8
end