diff --git a/app/models/type_de_champ.rb b/app/models/type_de_champ.rb index 36cffec21e9..4f47f7b0245 100644 --- a/app/models/type_de_champ.rb +++ b/app/models/type_de_champ.rb @@ -9,7 +9,7 @@ class TypeDeChamp < ApplicationRecord cojo: :cojo_type_de_champ, expression_reguliere: :expression_reguliere_type_de_champ, - lexpol: :lexpol_type_de_champ + lexpol: :lexpol } MINIMUM_TEXTAREA_CHARACTER_LIMIT_LENGTH = 400 @@ -732,7 +732,7 @@ def self.refresh_after_update?(type_champ) type_champs.fetch(:rna), type_champs.fetch(:siret), type_champs.fetch(:numero_dn), - type_champs.fetch(:te_fenua) + type_champs.fetch(:te_fenua), type_champs.fetch(:lexpol) false else diff --git a/config/initializers/flipper.rb b/config/initializers/flipper.rb index 053de3b119b..88ce9f7ee8d 100644 --- a/config/initializers/flipper.rb +++ b/config/initializers/flipper.rb @@ -29,7 +29,8 @@ def setup_features(features) :qrcoded_pdf, :sva, :switch_domain, - :visa + :visa, + :lexpol ] def database_exists?