no cachear los sitios en el singleton de sitios
This commit is contained in:
parent
a0c0d39487
commit
cc8dcee09a
1 changed files with 1 additions and 1 deletions
|
@ -330,7 +330,7 @@ class Site
|
||||||
|
|
||||||
# Obtener todos los directorios de sitios asociados a esta usuaria
|
# Obtener todos los directorios de sitios asociados a esta usuaria
|
||||||
def self.all_for(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|
|
.children.map(&:expand_path).map(&:to_s).map do |j|
|
||||||
|
|
||||||
next unless Site.jekyll? j
|
next unless Site.jekyll? j
|
||||||
|
|
Loading…
Reference in a new issue