public function getPublicPath()
    {
        $uploadsPath = Config::get('cms.storage.uploads.path', '/storage/app/uploads');

        if ($this->isPublic()) {
            $uploadsPath .= '/public';
        }
        else {
            $uploadsPath .= '/protected';
        }

        return Url::asset($uploadsPath) . '/';
    }
public function getPublicPath()
    {
        $uploadsPath = Config::get('cms.storage.uploads.path', '/storage/app/uploads');

        if ($this->isPublic()) {
            $uploadsPath .= '/public';
        }
        else {
            $uploadsPath .= '/protected';
        }

        return Url::asset($uploadsPath) . '/';
    }
public function getPublicPath ( ) { $ uploadsPath = Config :: get ( 'cms.storage.uploads.path' , '/storage/app/uploads' ) ; if ( $ this -> isPublic ( ) ) { $ uploadsPath .= '/public' ; } else { $ uploadsPath .= '/protected' ; } return Url :: asset ( $ uploadsPath ) . '/' ; }
Define the public address for the storage path.
Define the public address for the storage path .