27 lines
678 B
PHP
27 lines
678 B
PHP
<?php
|
|
|
|
use App\Models\Customer;
|
|
use App\Models\User;
|
|
use Yajra\DataTables\DataTables;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Web Routes
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
*/
|
|
|
|
|
|
Route::domain('admin.tgs.com.vn.test')->group(function () {
|
|
include __DIR__ . '/admin.php';
|
|
});
|
|
|
|
Route::domain('portal.tgs.com.vn.test')->group(function () {
|
|
include __DIR__ . '/customer.php';
|
|
});
|
|
|