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

path identification wip

This commit is contained in:
Samuel Štancl 2020-05-09 03:56:41 +02:00
parent 7ad93adde5
commit 5e6d82be57
8 changed files with 215 additions and 3 deletions

View file

@ -26,7 +26,7 @@ if (! function_exists('tenant')) {
return app(Tenant::class);
}
return optional(app(Tenant::class))->get($key) ?? null;
return optional(app(Tenant::class))->getAttribute($key) ?? null;
}
}