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

12 lines
215 B
Ruby
Raw Normal View History

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