Merge pull request #10032 from mfo/US/fix-api-attestations
API: fix régression d'accès aux attestations PDF
This commit is contained in:
commit
a99c20e1b3
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
|
before_action :ensure_dossier_present
|
||||||
|
|
||||||
def pdf
|
def pdf
|
||||||
@include_infos_administration = true
|
@acls = PiecesJustificativesService.new(user_profile: Administrateur.new).acl_for_dossier_export
|
||||||
render(template: 'dossiers/show', formats: [:pdf])
|
render(template: 'dossiers/show', formats: [:pdf])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue