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

18 lines
300 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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