renderizar las licencias como markdown

This commit is contained in:
f 2019-09-17 19:04:57 -03:00
parent cad881db1c
commit edfbb85553
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -60,7 +60,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
title: site.licencia.name,
author: %w[Sutty],
permalink: "#{I18n.t('activerecord.models.licencia').downcase}/",
content: site.licencia.deed
content: CommonMarker.render_html(site.licencia.deed)
}
)