Tambah Manual Book
This commit is contained in:
@@ -48,4 +48,14 @@ class HomeController extends Controller
|
||||
echo $decryptedContent;
|
||||
}, 'file.jpg');
|
||||
}
|
||||
|
||||
public function downloadManual()
|
||||
{
|
||||
$file = "manual_aplikasi_sidata.pdf";
|
||||
$headers = [
|
||||
'Content-Type' => 'application/pdf',
|
||||
'Content-Disposition' => 'attachment;filename='.$file
|
||||
];
|
||||
return response()->download($file , $file, $headers);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user