refactor: Remove extensive unused administrative UI, styling, and JavaScript assets, and introduce a new payment API controller.
This commit is contained in:
+11
-10
@@ -1,10 +1,5 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Customer;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Yajra\DataTables\DataTables;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Web Routes
|
||||
@@ -14,11 +9,17 @@ use Yajra\DataTables\DataTables;
|
||||
| routes are loaded by the RouteServiceProvider within a group which
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
| NOTE: All admin functionality has been migrated to REST API
|
||||
| See routes/api.php for API endpoints
|
||||
|
|
||||
*/
|
||||
|
||||
// Public API routes for client (already defined in routes/client.php)
|
||||
// See routes/api.php for admin API endpoints
|
||||
|
||||
Route::domain('admin.portal.test')->group(function () {
|
||||
include __DIR__ . '/admin.php';
|
||||
});
|
||||
|
||||
|
||||
Route::any('{any}', function () {
|
||||
return response()->json([
|
||||
'error' => true,
|
||||
'message' => 'Route not found'
|
||||
], 404);
|
||||
})->where('any', '.*');
|
||||
|
||||
Reference in New Issue
Block a user