demarches-normaliennes/app/models/concerns/procedure_chorus_concern.rb

13 lines
277 B
Ruby

module ProcedureChorusConcern
extend ActiveSupport::Concern
included do
def chorus_configuration
@chorus_configuration ||= ChorusConfiguration.new(chorus)
end
def chorusable?
feature_enabled?(:engagement_juridique_type_de_champ)
end
end
end