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

10 lines
180 B
Ruby
Raw Normal View History

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