demarches-normaliennes/app/components/procedure/card/api_particulier_component.rb
2022-07-21 18:07:56 +02:00

11 lines
215 B
Ruby

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