mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-23 01:32:15 +00:00
fixes
This commit is contained in:
@@ -43,12 +43,9 @@ class Share extends Model
|
||||
return ShareFactory::new();
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate share link
|
||||
*/
|
||||
public function getLinkAttribute(): string
|
||||
{
|
||||
return url('/share', ['token' => $this->attributes['token']]);
|
||||
return url("/share/{$this->token}");
|
||||
}
|
||||
|
||||
public function user(): HasOne
|
||||
|
||||
Reference in New Issue
Block a user