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:
parent
e1c4dc8934
commit
7f323aaa94
15 changed files with 42 additions and 44 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue