From 2e4219ce0757a3991e4f3c1a3e647af55db77522 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 27 Sep 2018 15:17:34 -0300 Subject: [PATCH] no enviar nil en everything_of --- app/models/site.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/site.rb b/app/models/site.rb index e410d22..70abc62 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -157,7 +157,7 @@ class Site posts_for(collection).map do |p| p.get_front_matter attr - end.flatten.uniq + end.flatten.uniq.compact end # Las usuarias que tienen acceso a este sitio se guardan en un archivo