mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 15:54:03 +00:00
Intelligent asset()
This commit is contained in:
parent
6134c8113b
commit
a34bcfbe3e
4 changed files with 17 additions and 4 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
// if app.asset_url is set, suffix it
|
||||
// if it's not set, use this controller?
|
||||
Route::get('/tenancy/assets/{path}', 'Stancl\Tenancy\Controllers\TenantAssetsController@asset')
|
||||
->where('path', '(.*)')
|
||||
->name('stancl.tenancy.asset');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue