5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:41:43 +00:00

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)
}
)