demarches-normaliennes/config/features.rb

25 lines
524 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"
2018-04-18 12:16:25 +02:00
end
2018-04-18 12:16:25 +02:00
feature :web_hook
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
end