5
0
Fork 0
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:
f 2020-06-25 17:17:38 -03:00
parent 0742a2eff1
commit bbd0b4e04a

View file

@ -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