mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:01:42 +00:00
Merge branch 'issue-14763' into 'rails'
fix: permitir cargar tiempo #14763 See merge request sutty/sutty!230
This commit is contained in:
commit
0d22c8e5b1
1 changed files with 1 additions and 1 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue