1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 18:34:04 +00:00
tenancy/assets/routes.php
2021-04-13 11:54:04 -05:00

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');
}