|
@@ -12,7 +12,7 @@ class ItemPicturesController extends Controller
|
|
|
protected $visibility = 'public';
|
|
|
protected $driver = 'images';
|
|
|
protected $prefix = 'items';
|
|
|
- protected $defaultPath = '\items-default-image.jpg';
|
|
|
+ protected $defaultPath = 'items-default-image.jpg';
|
|
|
|
|
|
public function show($pathAfter)
|
|
|
{
|
|
@@ -21,7 +21,7 @@ class ItemPicturesController extends Controller
|
|
|
if ($pathAfter == 'avatar'){
|
|
|
$path = Storage::disk($this->driver)->url('users\\default-avatar.jpg');
|
|
|
}else {
|
|
|
- $path = Storage::disk($this->driver)->url($this->prefix . $this->defaultPath);
|
|
|
+ $path = Storage::disk($this->driver)->url('items\\items-default-image.jpg');
|
|
|
}
|
|
|
}
|
|
|
|