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

9 lines
180 B
Ruby

class Procedure::Card::ModificationsComponent < ApplicationComponent
def initialize(procedure:)
@procedure = procedure
end
def render?
@procedure.revised?
end
end