demarches-normaliennes/app/components/procedure/card/api_particulier_component.rb

14 lines
246 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Procedure::Card::APIParticulierComponent < ApplicationComponent
def initialize(procedure:)
@procedure = procedure
end
private
def render?
helpers.feature_enabled?(:api_particulier)
end
end