mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 10:51:42 +00:00
fix: volver a leer el sitio después de guardarlo #12755
This commit is contained in:
parent
0817139032
commit
d01f4ae5e2
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
|||
site.save &&
|
||||
site.config.write &&
|
||||
commit_config(action: :create) &&
|
||||
site.reset.nil? &&
|
||||
add_licencias &&
|
||||
add_code_of_conduct &&
|
||||
add_privacy_policy
|
||||
|
@ -29,6 +30,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
|||
site.update(params) &&
|
||||
site.config.write &&
|
||||
commit_config(action: :update) &&
|
||||
site.reset.nil? &&
|
||||
change_licencias
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue