28 lines
779 B
PHP
28 lines
779 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use Modules\Admin\app\Http\Controllers\AdminController;
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| 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::prefix('apanel')
|
|
->middleware(['auth', 'verified'])
|
|
->group(function () {
|
|
Route::get('/dashboard', [AdminController::class, 'dashboard'])->name('dashboard');
|
|
});
|
|
|
|
|
|
//-- Auth Routes
|
|
// require __DIR__.'/auth.php';
|
|
require base_path('Modules/Admin/routes/auth.php');
|
|
|