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

14 lines
262 B
Ruby
Raw Normal View History

2024-05-13 16:38:37 +02:00
# frozen_string_literal: true
class Dossiers::DeletedDossiersComponent < ApplicationComponent
include DossierHelper
def initialize(deleted_dossiers:)
@deleted_dossiers = deleted_dossiers
end
def role
controller.try(:nav_bar_profile)
end
end