mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-17 21:12:16 +01:00
fix: update PDF path in DevelopController
Update path from tests/php/fixtures/small_valid.pdf to tests/php/fixtures/pdfs/small_valid.pdf after file reorganization. Fixes /apps/libresign/develop/pdf route. Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
This commit is contained in:
parent
c8e9a2d4b1
commit
5618b286e5
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ class DevelopController extends Controller {
|
|||
if (!$this->isDebugMode()) {
|
||||
return new DataResponse([], Http::STATUS_NOT_FOUND);
|
||||
}
|
||||
$file = new InMemoryFile('file.pdf', file_get_contents(__DIR__ . '/../../tests/php/fixtures/small_valid.pdf'));
|
||||
$file = new InMemoryFile('file.pdf', file_get_contents(__DIR__ . '/../../tests/php/fixtures/pdfs/small_valid.pdf'));
|
||||
$response = new FileDisplayResponse($file);
|
||||
$response->setHeaders([
|
||||
'Content-Disposition' => 'inline; filename="file.pdf"',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue