mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 16:41:42 +00:00
fix: compartir la misma fecha de creación y de actualización
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
6aa0f7d6cf
commit
10d958e50a
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class Post
|
||||||
# Y que no se procese liquid
|
# Y que no se procese liquid
|
||||||
yaml['liquid'] = false
|
yaml['liquid'] = false
|
||||||
yaml['usuaries'] = usuaries.map(&:id).uniq
|
yaml['usuaries'] = usuaries.map(&:id).uniq
|
||||||
yaml['created_at'] ||= Time.now
|
yaml['created_at'] ||= modified_at
|
||||||
yaml['last_modified_at'] = modified_at
|
yaml['last_modified_at'] = modified_at
|
||||||
|
|
||||||
"#{yaml.to_yaml}---\n\n#{body}"
|
"#{yaml.to_yaml}---\n\n#{body}"
|
||||||
|
|
Loading…
Reference in a new issue