diff --git a/app/models/post.rb b/app/models/post.rb index 3694cbc1..64fee6eb 100644 --- a/app/models/post.rb +++ b/app/models/post.rb @@ -271,6 +271,7 @@ class Post # Y que no se procese liquid yaml['liquid'] = false yaml['usuaries'] = usuaries.map(&:id).uniq + yaml['created_at'] ||= Time.now yaml['last_modified_at'] = modified_at "#{yaml.to_yaml}---\n\n#{body}"