public function getPublicPath()
    {
        $mediaPath = config('system.assets.attachment.path', '/storage/app/attachments');
        $mediaPath = $this->isPublic()
            ? $mediaPath.'/public'
            : $mediaPath.'/protected';

        return URL::asset($mediaPath).'/';
    }
public function getPublicPath()
    {
        $mediaPath = config('system.assets.attachment.path', '/storage/app/attachments');
        $mediaPath = $this->isPublic()
            ? $mediaPath.'/public'
            : $mediaPath.'/protected';

        return URL::asset($mediaPath).'/';
    }
public function getPublicPath ( ) { $ mediaPath = config ( 'system.assets.attachment.path' , '/storage/app/attachments' ) ; $ mediaPath = $ this -> isPublic ( ) ? $ mediaPath . '/public' : $ mediaPath . '/protected' ; return URL :: asset ( $ mediaPath ) . '/' ; }
Define the public address for the storage path.
Define the public address for the storage path .