Files
wticreatorstudio/Modules/RoutePlus/Routes/web.php
T
2024-02-12 22:54:20 -05:00

22 lines
770 B
PHP

<?php
/*
|--------------------------------------------------------------------------
| 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!
|
*/
use Modules\RoutePlus\Http\Controllers\Auth\LoginController;
Route::prefix('routeplus')->group(function() {
Route::get('/', 'RoutePlusController@index');
});
Route::get('/staff/login', [LoginController::class, 'showAdminLoginForm'])->name('staff.login');
Route::post('/staff/login', [LoginController::class, 'adminLogin'])->name('staff.login_submit');