no cachear los sitios en el singleton de sitios

This commit is contained in:
f 2018-07-24 19:15:23 -03:00
parent a0c0d39487
commit cc8dcee09a
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -330,7 +330,7 @@ class Site
# Obtener todos los directorios de sitios asociados a esta usuaria
def self.all_for(usuaria)
@sites ||= Pathname.new(Site.site_path_for(usuaria))
Pathname.new(Site.site_path_for(usuaria))
.children.map(&:expand_path).map(&:to_s).map do |j|
next unless Site.jekyll? j