mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 10:21:42 +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
|
||||
|
||||
add_role temporal: false, rol: 'usuarie'
|
||||
sync_nodes
|
||||
|
||||
I18n.with_locale(usuarie&.lang&.to_sym || I18n.default_locale) do
|
||||
site.save &&
|
||||
|
|
Loading…
Reference in a new issue