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 end
def invitadxs def invitadxs
return [] unless invitadxs?
@invitadxs ||= File.read(invitadxs_file).split("\n").map do |i| @invitadxs ||= File.read(invitadxs_file).split("\n").map do |i|
Invitadx.find_by_email(i) Invitadx.find_by_email(i)
end end