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

Fix #7 - tenant assets

This commit is contained in:
Samuel Štancl 2019-01-20 14:52:14 +01:00
parent 25bc3f81b3
commit 3a6ceed992
4 changed files with 38 additions and 1 deletions

View file

@ -13,9 +13,16 @@ if (! function_exists('tenancy')) {
}
}
if (!function_exists('tenant')) {
if (! function_exists('tenant')) {
function tenant($key = null)
{
return tenancy($key);
}
}
if (! function_exists('tenant_asset')) {
function tenant_asset($asset)
{
return route('stancl.tenancy.asset', ['asset' => $asset]);
}
}