mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 13:34:05 +00:00
Fix ArgumentCount exception on the TenantAssetsController when no $path is provided
This commit is contained in:
parent
db9480f54e
commit
0db972384a
2 changed files with 21 additions and 4 deletions
|
|
@ -15,7 +15,7 @@ class TenantAssetsController extends Controller
|
|||
$this->middleware(static::$tenancyMiddleware);
|
||||
}
|
||||
|
||||
public function asset($path)
|
||||
public function asset($path = null)
|
||||
{
|
||||
try {
|
||||
return response()->file(storage_path("app/public/$path"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue