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