From f68977e53d8ef67a43730288a70ce2efed603a00 Mon Sep 17 00:00:00 2001 From: f Date: Tue, 16 Oct 2018 18:54:06 -0300 Subject: [PATCH] siempre devolver invitadxs --- app/models/site.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/site.rb b/app/models/site.rb index ce0a7c43..aaa88e0b 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -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