projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
16306: Merge branch 'master'
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
group.rb
diff --git
a/apps/workbench/app/models/group.rb
b/apps/workbench/app/models/group.rb
index 523e5e94f66e92846a5d7bf3b5cba6a1a90057bb..08b13bf34b74611d2847918ffebeb8d65c19fb66 100644
(file)
--- a/
apps/workbench/app/models/group.rb
+++ b/
apps/workbench/app/models/group.rb
@@
-40,4
+40,8
@@
class Group < ArvadosBase
def self.creatable?
false
end
+
+ def untrash
+ arvados_api_client.api(self.class, "/#{self.uuid}/untrash", {"ensure_unique_name" => true})
+ end
end