|
...
|
...
|
@@ -42,7 +42,7 @@ class Task extends Base |
|
|
|
}
|
|
|
|
|
|
|
|
public function setAttachmentAttribute($value){
|
|
|
|
$this->attributes['attachment'] = Upload::url2path($value);
|
|
|
|
$this->attributes['attachment'] = getFileUrl($value);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getAttachmentAttribute($value){
|
...
|
...
|
|