mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 11:04:04 +00:00
resolve minor todos
This commit is contained in:
parent
413da36c4a
commit
7089efb2ee
7 changed files with 44 additions and 9 deletions
|
|
@ -36,7 +36,12 @@ if (! function_exists('tenant')) {
|
|||
}
|
||||
|
||||
if (! function_exists('tenant_asset')) {
|
||||
// todo@docblock
|
||||
/**
|
||||
* Generate a URL to an asset in tenant storage.
|
||||
*
|
||||
* If app.asset_url is set, this helper suffixes that URL before appending the asset path.
|
||||
* If it is not set, the stancl.tenancy.asset route is used.
|
||||
*/
|
||||
function tenant_asset(string|null $asset): string
|
||||
{
|
||||
if ($assetUrl = config('app.asset_url')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue