mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-27 21:26:21 +00:00
Merge branch 'issue-13244' into production.panel.sutty.nl
This commit is contained in:
commit
84af943cf6
2 changed files with 5 additions and 2 deletions
|
@ -40,11 +40,14 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
|
||||||
add_licencias &&
|
add_licencias &&
|
||||||
add_code_of_conduct &&
|
add_code_of_conduct &&
|
||||||
add_privacy_policy &&
|
add_privacy_policy &&
|
||||||
site.index_posts! &&
|
|
||||||
deploy
|
deploy
|
||||||
end
|
end
|
||||||
|
|
||||||
auto_publish!
|
if site.persisted?
|
||||||
|
site.index_posts!
|
||||||
|
auto_publish!
|
||||||
|
end
|
||||||
|
|
||||||
site
|
site
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue