mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:14:03 +00:00
First TenantAssetTest
This commit is contained in:
parent
22fc843ce3
commit
9ec4fd931a
2 changed files with 13 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ class TenantAssetsController extends Controller
|
|||
public function asset($path)
|
||||
{
|
||||
try {
|
||||
return response()->file(storage_path('app/public/' . $path));
|
||||
return response()->file(storage_path("app/public/$path"));
|
||||
} catch (\Throwable $th) {
|
||||
abort(404);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue