1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 17:44:04 +00:00

First TenantAssetTest

This commit is contained in:
Samuel Štancl 2019-02-08 23:25:50 +01:00
parent 22fc843ce3
commit 9ec4fd931a
2 changed files with 13 additions and 3 deletions

View file

@ -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);
}