fix(api/attestations#pdf): missing acl
This commit is contained in:
parent
284ecf864b
commit
c9ea79c7cc
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ class API::V2::DossiersController < API::V2::BaseController
|
|||
before_action :ensure_dossier_present
|
||||
|
||||
def pdf
|
||||
@include_infos_administration = true
|
||||
@acls = PiecesJustificativesService.new(user_profile: Administrateur.new).acl_for_dossier_export
|
||||
render(template: 'dossiers/show', formats: [:pdf])
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue