5
0
Fork 0
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:
f 2023-03-23 16:53:06 -03:00
parent 0817139032
commit d01f4ae5e2

View file

@ -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