Merge branch 'rails' of 0xacab.org:sutty/sutty into rails

This commit is contained in:
f 2021-07-13 17:24:46 -03:00
commit 5c36de818f

View file

@ -13,6 +13,13 @@ class MetadataBelongsTo < MetadataRelatedPosts
''
end
# Obtiene el valor desde el documento.
#
# @return [String]
def document_value
document.data[name.to_s]
end
def validate
super