demarches-normaliennes/app/components/procedure/card/api_particulier_component.rb
2024-08-22 09:26:48 +02:00

13 lines
246 B
Ruby

# 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