mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 01:44:04 +00:00
Move tenant routes to a stub file
This commit is contained in:
parent
867a905ed3
commit
aeb3ca0e40
2 changed files with 18 additions and 21 deletions
16
assets/tenant_routes.php.stub
Normal file
16
assets/tenant_routes.php.stub
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?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');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue