mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 16:34:04 +00:00
12 lines
310 B
PHP
12 lines
310 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
if (config('tenancy.filesystem.serve_tenant_assets', true)) {
|
|
|
|
Route::get('/tenancy/assets/{path?}', 'Stancl\Tenancy\Controllers\TenantAssetsController@asset')
|
|
->where('path', '(.*)')
|
|
->name('stancl.tenancy.asset');
|
|
}
|