| 123456789101112131415161718192021222324 | 
							- <?php
 - 
 - use App\Http\Controllers\AdminController;
 - use Illuminate\Support\Facades\Route;
 - 
 - /*
 - |--------------------------------------------------------------------------
 - | Web Routes
 - |--------------------------------------------------------------------------
 - |
 - | Here is where you can register web routes for your application. These
 - | routes are loaded by the RouteServiceProvider and all of them will
 - | be assigned to the "web" middleware group. Make something great!
 - |
 - */
 - 
 - // Route::statamic('example', 'example-view', [
 - //    'title' => 'Example'
 - // ]);
 - 
 - Route::get('/admin/login', [AdminController::class, 'showLoginForm'])->name('admin.login');
 - Route::post('/admin/login', [AdminController::class, 'login']);
 - 
 - Route::get('/admin/dashboard', [AdminController::class, 'dashboard'])->name('admin.dashboard');
 
 
  |