We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f0889a commit fa4442cCopy full SHA for fa4442c
app/Models/ShareLink.php
@@ -3,7 +3,6 @@
3
namespace App\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
-use Illuminate\Support\Facades\Config;
7
use Illuminate\Support\Str;
8
9
class ShareLink extends Model
@@ -13,7 +12,7 @@ protected static function booted(): void
13
12
static::saving(function (ShareLink $shareLink) {
14
$token = Str::random(32);
15
$shareLink->token = $token;
16
- $shareLink->link = url(Config::get('nova.path')).'/arsip-dokumen/'.$token;
+ $shareLink->link = url(config('nova.path')).'/arsip-dokumen/'.$token;
17
});
18
}
19
composer.json
@@ -88,5 +88,5 @@
88
},
89
"minimum-stability": "dev",
90
"prefer-stable": true,
91
- "version": "2.5.0"
+ "version": "2.5.1"
92
0 commit comments