1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

Intelligent asset()

This commit is contained in:
Samuel Štancl 2019-09-21 16:43:03 +02:00
parent 6134c8113b
commit a34bcfbe3e
4 changed files with 17 additions and 4 deletions

View file

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