mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-14 06:51:42 +00:00
solo mostrar el boton de colaboracion anonima cuando esta habilitado
This commit is contained in:
parent
0742a2eff1
commit
bbd0b4e04a
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@
|
|||
# Política de aceptación de colaboradorxs
|
||||
CollaborationPolicy = Struct.new(:usuarie, :collaboration) do
|
||||
def collaborate?
|
||||
collaboration.site.invitades?
|
||||
collaboration.site.colaboracion_anonima
|
||||
end
|
||||
|
||||
def accept_collaboration?
|
||||
collaboration.site.invitades?
|
||||
collaboration.site.colaboracion_anonima
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue