chore(admin): can download an uploaded PJ template

This commit is contained in:
Colin Darie 2022-11-23 13:17:14 +01:00
parent 42363e0b0d
commit 3e617f34ec

View file

@ -76,7 +76,8 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent
def piece_justificative_template_options def piece_justificative_template_options
{ {
attached_file: type_de_champ.piece_justificative_template, attached_file: type_de_champ.piece_justificative_template,
auto_attach_url: helpers.auto_attach_url(type_de_champ) auto_attach_url: helpers.auto_attach_url(type_de_champ),
user_can_download: true
} }
end end