Fixes for preview
This commit is contained in:
parent
d7009f5072
commit
019427602c
1 changed files with 3 additions and 1 deletions
|
|
@ -300,7 +300,9 @@ class PreviewController extends BaseController
|
|||
->increment()
|
||||
->batch();
|
||||
}
|
||||
|
||||
|
||||
DB::connection()->getDoctrineConnection()->close();
|
||||
DB::disconnect();
|
||||
|
||||
$response = Response::make($file_path, 200);
|
||||
$response->header('Content-Type', 'application/pdf');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue