5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 09:21:42 +00:00

fixup! feat: fecha de creación

This commit is contained in:
f 2023-09-13 17:53:51 -03:00
parent 6b1eccade3
commit 35e8a08716
No known key found for this signature in database

View file

@ -219,7 +219,7 @@ class Post
# La fecha de creación inmodificable del post # La fecha de creación inmodificable del post
def created_at def created_at
@metadata[:created_at] ||= MetadataCreatedAt.new(document: document, site: site, layout: layout, name: :created_at, type: :timestamp, post: self, required: true) @metadata[:created_at] ||= MetadataCreatedAt.new(document: document, site: site, layout: layout, name: :created_at, type: :created_at, post: self, required: true)
end end
# Detecta si es un atributo válido o no, a partir de la tabla de la # Detecta si es un atributo válido o no, a partir de la tabla de la