5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:41:43 +00:00

Merge branch 'issue-14763' into 'rails'

fix: permitir cargar tiempo #14763

See merge request sutty/sutty!230
This commit is contained in:
fauno 2024-01-08 16:45:54 +00:00
commit 0d22c8e5b1

View file

@ -21,7 +21,7 @@ class Site
# Leer el archivo de configuración y setear los atributos en el
# objeto actual, creando los metodos de ostruct
def read
data = YAML.safe_load(File.read(path))
data = YAML.safe_load(File.read(path), permitted_classes: [Time])
@hash = data.hash
data.each do |key, value|