From 91e9eab97574896d640d35b4fd74ef10e15915ab Mon Sep 17 00:00:00 2001 From: f Date: Tue, 2 Jul 2024 12:58:24 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20la=20descripci=C3=B3n=20del=20archivo=20?= =?UTF-8?q?es=20parte=20del=20t=C3=ADtulo=20#16679?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/metadata_file.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/models/metadata_file.rb b/app/models/metadata_file.rb index 61aea897..fb5082f4 100644 --- a/app/models/metadata_file.rb +++ b/app/models/metadata_file.rb @@ -18,6 +18,18 @@ class MetadataFile < MetadataTemplate # XXX: Esto ayuda a deserializar en {Site#everything_of} def values; end + # Usar la descripciĆ³n + def titleize? + true + end + + # Devolver la descripciĆ³n + # + # @return [String] + def to_s + value['description'].to_s + end + def validate super