mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Added Template Files, Grouped Den Routes
Added the necessary template files for every page needed. Most are still empty but all are accounted for from the previous version. Also organized all routes to the dashboard, named the den for better security
This commit is contained in:
@ -16,13 +16,16 @@ use App\Http\Controllers\DenController;
|
||||
|
|
||||
*/
|
||||
|
||||
//index
|
||||
//front
|
||||
Route::get("/", [FrontIndexController::class, 'start']);
|
||||
|
||||
//auth
|
||||
Route::get("/login", [AuthController::class, 'showLogin']);
|
||||
Route::post("/login", [AuthController::class, 'memberAuth']);
|
||||
|
||||
//den
|
||||
Route::get("/den", [DenController::class, 'start'])->middleware('member.check');
|
||||
Route::get("/logout", [AuthController::class, 'leave']);
|
||||
|
||||
//back
|
||||
Route::group(['prefix' => 'den', 'middleware' => 'member.check'], function () {
|
||||
Route::get("/", [DenController::class, 'start']);
|
||||
Route::get("/member", [DenController::class, 'member']);
|
||||
});
|
||||
|
Reference in New Issue
Block a user