1234567891011121314151617181920212223 |
- <?php
- use App\Http\Controllers\AuthController;
- use App\Http\Controllers\HomeController;
- 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::get('/', [AuthController::class, 'getLogin']);
- Route::get('/index', [HomeController::class, 'index']);
- Route::post('/post-login', [AuthController::class, 'postLogin']);
|