demarches-normaliennes/config/features.rb
2018-08-29 16:08:01 +01:00

34 lines
778 B
Ruby
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Flipflop.configure do
strategy :cookie,
secure: Rails.env.production?,
httponly: true
strategy :active_record
strategy :user_preference
strategy :default
group :champs do
feature :champ_pj,
title: "Champ pièce justificative"
feature :champ_siret,
title: "Champ SIRET"
feature :champ_linked_dropdown,
title: "Champ double menu déroulant"
end
feature :web_hook
feature :publish_draft
feature :support_form
feature :new_dossier_details,
title: "Nouvelle page « Dossier »"
group :production do
feature :remote_storage,
default: ENV['FOG_ENABLED'] == 'enabled'
feature :weekly_overview,
default: Rails.env.production?
end
feature :pre_maintenance_mode
feature :maintenance_mode
end