projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add Repositories resource, fix authorized_user attr name, some wb fixes
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
user.rb
diff --git
a/apps/workbench/app/models/user.rb
b/apps/workbench/app/models/user.rb
index 625f505a1cbe7a66593b5cf1588710090398bddf..0dec2e0ba87936abc7c2550b2f941233a809d50b 100644
(file)
--- a/
apps/workbench/app/models/user.rb
+++ b/
apps/workbench/app/models/user.rb
@@
-9,4
+9,8
@@
class User < ArvadosBase
res = $arvados_api_client.api self, '/current'
$arvados_api_client.unpack_api_response(res)
end
+
+ def full_name
+ (self.first_name || "") + " " + (self.last_name || "")
+ end
end