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

asset() tenancy

This commit is contained in:
Samuel Štancl 2019-09-21 16:06:08 +02:00
parent cf71fa5979
commit 6134c8113b
5 changed files with 27 additions and 7 deletions

View file

@ -33,3 +33,10 @@ if (! \function_exists('tenant_asset')) {
return route('stancl.tenancy.asset', ['asset' => $asset]);
}
}
if (! \function_exists('global_asset')) {
function global_asset($asset)
{
return app('globalUrl')->asset($asset);
}
}