15 lines
269 B
Ruby
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
|