no fallar si la configuración no existe
This commit is contained in:
parent
42c7e7006a
commit
8d36b5734e
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Site
|
||||||
|
|
||||||
@saved = File.exist? path
|
@saved = File.exist? path
|
||||||
|
|
||||||
read
|
read if @saved
|
||||||
end
|
end
|
||||||
|
|
||||||
# Obtener un valor por defecto a partir de la configuración
|
# Obtener un valor por defecto a partir de la configuración
|
||||||
|
|
Loading…
Reference in a new issue