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

10 lines
296 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Dossiers::NotifiedToggleComponent < ApplicationComponent
def initialize(procedure:, procedure_presentation:)
@procedure = procedure
@procedure_presentation = procedure_presentation
@sorted_column = procedure_presentation.sorted_column
end
end