src/BoomCMS/Http/Controllers/Asset/AssetController.php
public function download(Asset $asset)
    {
        return Response::file(AssetFacade::path($asset), [
            'Content-Type'        => $asset->getMimetype(),
            'Content-Disposition' => 'download; filename="'.$asset->getOriginalFilename().'"',
        ]);
    }
public function download(Asset $asset)
    {
        return Response::file(AssetFacade::path($asset), [
            'Content-Type'        => $asset->getMimetype(),
            'Content-Disposition' => 'download; filename="'.$asset->getOriginalFilename().'"',
        ]);
    }
public function download ( Asset $ asset ) { return Response :: file ( AssetFacade :: path ( $ asset ) , [ 'Content-Type' => $ asset -> getMimetype ( ) , 'Content-Disposition' => 'download; filename="' . $ asset -> getOriginalFilename ( ) . '"' , ] ) ; }
Download the given asset.

@param Asset $asset
Download the given asset .