mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 23:46:21 +00:00
feat: usar un slug
sino cuando cambia la licencia queda con la url de la anterior
This commit is contained in:
parent
3f3ef00410
commit
89ef2959e3
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
|||
params = ActionController::Parameters.new(
|
||||
post: {
|
||||
layout: 'license',
|
||||
slug: Jekyll::Utils.slugify(I18n.t('activerecord.models.licencia')),
|
||||
lang: lang,
|
||||
title: site.licencia.name,
|
||||
description: I18n.t('sites.form.licencia.title'),
|
||||
|
|
Loading…
Reference in a new issue