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

@ -168,6 +168,7 @@ Rails.application.routes.draw do
get ':champ_id/piece_justificative', to: 'piece_justificative#show', as: :piece_justificative
put ':champ_id/piece_justificative', to: 'piece_justificative#update', as: :attach_piece_justificative
get ':champ_id/piece_justificative/template', to: 'piece_justificative#template', as: :piece_justificative_template
end
resources :attachments, only: [:show, :destroy]