5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 15:16:22 +00:00

fix: no compartir la misma instancia

This commit is contained in:
f 2023-09-12 14:49:17 -03:00
parent 10d958e50a
commit 2c979bd690
No known key found for this signature in database

View file

@ -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'] ||= modified_at yaml['created_at'] ||= modified_at.dup
yaml['last_modified_at'] = modified_at yaml['last_modified_at'] = modified_at
"#{yaml.to_yaml}---\n\n#{body}" "#{yaml.to_yaml}---\n\n#{body}"