mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-24 09:50:39 +00:00
- on-demand notification
- error message on failed after shared link was created - Shared link email text edit
This commit is contained in:
+2
-13
@@ -50,19 +50,8 @@ class Share extends Model
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getLinkAttribute() {
|
||||
|
||||
public function getLinkAttribute()
|
||||
{
|
||||
return url('/shared', ['token' => $this->attributes['token']]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Send the sahared link notification.
|
||||
*
|
||||
* @param string $token $emails
|
||||
* @return void
|
||||
*/
|
||||
public function sendSharedLinkViaEmail($emails, $token)
|
||||
{
|
||||
$this->notify(new SharedSendViaEmail($emails, $token));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user