mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:04:03 +00:00
Intelligent asset()
This commit is contained in:
parent
6134c8113b
commit
a34bcfbe3e
4 changed files with 17 additions and 4 deletions
|
|
@ -35,6 +35,7 @@ if (! \function_exists('tenant_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