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:
parent
6b1eccade3
commit
35e8a08716
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue