mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:54:04 +00:00
11 lines
317 B
PHP
11 lines
317 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Stancl\Tenancy\Controllers\TenantAssetController;
|
|
|
|
// todo make this work with path identification
|
|
Route::get('/tenancy/assets/{path?}', [TenantAssetController::class, 'asset'])
|
|
->where('path', '(.*)')
|
|
->name('stancl.tenancy.asset');
|