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

Intelligent asset()

This commit is contained in:
Samuel Štancl 2019-09-21 16:43:03 +02:00
parent 6134c8113b
commit a34bcfbe3e
4 changed files with 17 additions and 4 deletions

View file

@ -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);