siempre devolver invitadxs
This commit is contained in:
parent
5c0fa88091
commit
f68977e53d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue