mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:34:03 +00:00
* Create routes/tenant.php only if the file does not exist * Move tenant routes to a stub file
16 lines
No EOL
504 B
Text
16 lines
No EOL
504 B
Text
<?php
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Tenant Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here you can register the tenant routes for your application.
|
|
| These routes are loaded by the TenantRouteServiceProvider
|
|
| with the tenancy and web middleware groups. Good luck!
|
|
|
|
|
*/
|
|
|
|
Route::get('/app', function () {
|
|
return 'This is your multi-tenant application. The id of the current tenant is ' . tenant('id');
|
|
}); |