mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Added image name editing & deleting
This commit is contained in:
@ -6,6 +6,9 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Image extends Model
|
||||
{
|
||||
|
||||
protected $fillable = ['name'];
|
||||
|
||||
public function getFilePath()
|
||||
{
|
||||
return storage_path() . $this->url;
|
||||
|
Reference in New Issue
Block a user