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

14 lines
249 B
Ruby
Raw Normal View History

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