mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 16:53:38 +00:00
crear rsyncs al crear el sitio
This commit is contained in:
parent
a5e90257a3
commit
10d950689b
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
||||||
self.site = Site.new params
|
self.site = Site.new params
|
||||||
|
|
||||||
add_role temporal: false, rol: 'usuarie'
|
add_role temporal: false, rol: 'usuarie'
|
||||||
|
sync_nodes
|
||||||
|
|
||||||
I18n.with_locale(usuarie&.lang&.to_sym || I18n.default_locale) do
|
I18n.with_locale(usuarie&.lang&.to_sym || I18n.default_locale) do
|
||||||
site.save &&
|
site.save &&
|
||||||
|
|
Loading…
Reference in a new issue