1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 21:54:02 +00:00

Specify namespace on global functions (fix #35)

This commit is contained in:
Samuel Štancl 2019-04-23 17:02:43 +02:00
parent e1c4dc8934
commit 7f323aaa94
15 changed files with 42 additions and 44 deletions

View file

@ -14,9 +14,9 @@ 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);
\abort(404);
}
}
}