fix(pj_template): private proxy template url so their links are non expirable

Closes #7920
This commit is contained in:
Colin Darie 2022-12-01 17:57:53 +01:00
parent 6f5cd5a2ad
commit b9d6397a9b
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
8 changed files with 52 additions and 5 deletions

View file

@ -17,6 +17,10 @@ class Champs::PieceJustificativeController < ApplicationController
end
end
def template
redirect_to @champ.type_de_champ.piece_justificative_template.blob
end
private
def set_champ