Skip to content
Snippets Groups Projects
Unverified Commit d513a872 authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

Merge branch 'main' of github.com:noesya/osuny

parents 745edb0f 32c6f10f
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ module Communication::Website::WithDeuxfleurs
# 4. both exists, deuxfleurs hosting needs to change identifier (Waiting for API possibility)
def deuxfleurs_setup
return unless deuxfleurs_hosting?
return if deuxfleurs_setup_done?
Communication::Website::Deuxfleurs::SetupJob.perform_later(id)
end
......@@ -34,6 +35,10 @@ module Communication::Website::WithDeuxfleurs
protected
def deuxfleurs_setup_done?
deuxfleurs_hosting? && repository.present? && deuxfleurs_identifier.present?
end
def deuxfleurs_golive
return unless in_production_changed? && in_production
# https://www.test.com -> www.test.com
......
translation_key: <%= @about.static_translation_key %>
translationKey: <%= @about.static_translation_key %>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment