5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:41:43 +00:00

siempre devolver invitadxs

This commit is contained in:
f 2018-10-16 18:54:06 -03:00
parent 5c0fa88091
commit f68977e53d
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -187,6 +187,7 @@ class Site
end
def invitadxs
return [] unless invitadxs?
@invitadxs ||= File.read(invitadxs_file).split("\n").map do |i|
Invitadx.find_by_email(i)
end