1
0
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:
Ro
2023-08-16 13:03:06 -07:00
parent 14af284103
commit 66cf78ba75
12 changed files with 45 additions and 11 deletions

View File

@ -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']);
});