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:
parent
25bc3f81b3
commit
3a6ceed992
4 changed files with 38 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue