diff --git a/app/models/site/config.rb b/app/models/site/config.rb index fb35779..3215277 100644 --- a/app/models/site/config.rb +++ b/app/models/site/config.rb @@ -10,7 +10,7 @@ class Site @saved = File.exist? path - read + read if @saved end # Obtener un valor por defecto a partir de la configuraciĆ³n