demarches-normaliennes/config/features.rb

33 lines
741 B
Ruby
Raw Normal View History

2018-04-18 12:16:25 +02:00
Flipflop.configure do
strategy :cookie,
secure: Rails.env.production?,
httponly: true
2018-04-18 12:16:25 +02:00
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"
2018-04-18 12:16:25 +02:00
end
2018-04-18 12:16:25 +02:00
feature :web_hook
feature :new_dossier_details,
title: "Nouvelle page « Dossier »"
2018-04-18 12:16:25 +02:00
group :production do
feature :remote_storage,
default: Rails.env.production? || Rails.env.staging?
feature :weekly_overview,
default: Rails.env.production?
2018-04-18 12:16:25 +02:00
end
2018-04-26 10:52:41 +02:00
feature :pre_maintenance_mode
2018-04-26 10:52:41 +02:00
feature :maintenance_mode
2018-04-18 12:16:25 +02:00
end