5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-28 00:06:07 +00:00

crear rsyncs al crear el sitio

This commit is contained in:
f 2022-04-06 18:39:52 -03:00
parent a5e90257a3
commit 10d950689b

View file

@ -9,6 +9,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
self.site = Site.new params
add_role temporal: false, rol: 'usuarie'
sync_nodes
I18n.with_locale(usuarie&.lang&.to_sym || I18n.default_locale) do
site.save &&