projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 3699-arv-copy
[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 30488c3383b812bb7ffc32dbec524bdb88c1c2cf..d47819893a84296685ef1fd9a9d9fc81ae8d98ea 100644
(file)
--- a/
apps/workbench/app/models/group.rb
+++ b/
apps/workbench/app/models/group.rb
@@
-22,12
+22,10
@@
class Group < ArvadosBase
end
def class_for_display
end
def class_for_display
- group_class
.in?(['folder', 'project'])
? 'Project' : super
+ group_class
== 'project'
? 'Project' : super
end
end
- def editable?
- respond_to?(:writable_by) and
- writable_by and
- writable_by.index(current_user.uuid)
+ def textile_attributes
+ [ 'description' ]
end
end
end
end