remove feature flag zonage

This commit is contained in:
Christophe Robillard 2022-12-20 09:22:28 +01:00
parent 1e200262dc
commit 11a18516b2
9 changed files with 14 additions and 6 deletions

View file

@ -653,7 +653,7 @@ class Procedure < ApplicationRecord
end
def missing_zones?
if feature_enabled?(:zonage)
if Rails.application.config.ds_zonage_enabled
zones.empty?
else
false