demarches-normaliennes/app/models/columns/piece_justificative_column.rb

10 lines
202 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class Columns::PieceJustificativeColumn < Column
private
def typed_value(champ)
champ.piece_justificative_file.map { _1.blob.filename.to_s }.join(', ')
end
end