mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 03:34:04 +00:00
Fix asset tests
This commit is contained in:
parent
bd08979e0c
commit
75f00a58dd
5 changed files with 10 additions and 12 deletions
|
|
@ -30,12 +30,11 @@ if (! \function_exists('tenant')) {
|
|||
if (! \function_exists('tenant_asset')) {
|
||||
function tenant_asset($asset)
|
||||
{
|
||||
return route('stancl.tenancy.asset', ['asset' => $asset]);
|
||||
return route('stancl.tenancy.asset', ['path' => $asset]);
|
||||
}
|
||||
}
|
||||
|
||||
if (! \function_exists('global_asset')) {
|
||||
// todo test this
|
||||
function global_asset($asset)
|
||||
{
|
||||
return app('globalUrl')->asset($asset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue