demarches-normaliennes/app/components/dossiers/autosave_footer_component.rb
2023-03-14 15:22:13 +01:00

15 lines
269 B
Ruby

class Dossiers::AutosaveFooterComponent < ApplicationComponent
include ApplicationHelper
attr_reader :dossier
def initialize(dossier:, annotation:)
@dossier = dossier
@annotation = annotation
end
private
def annotation?
@annotation
end
end