demarches-normaliennes/app/components/dossiers/autosave_footer_component.rb

16 lines
269 B
Ruby
Raw Normal View History

2023-03-01 18:30:10 +01:00
class Dossiers::AutosaveFooterComponent < ApplicationComponent
include ApplicationHelper
attr_reader :dossier
def initialize(dossier:, annotation:)
@dossier = dossier
@annotation = annotation
end
private
def annotation?
@annotation
end
end