group(function () { Route::get('/dashboard', [\App\Http\Controllers\DashboardController::class, "dashboardView"]); Route::get("/vpn", [\App\Http\Controllers\VPNController::class, "overview"]); Route::get("/vpn/access", [\App\Http\Controllers\VPNController::class, "accessView"]); Route::post("/vpn/access", [\App\Http\Controllers\VPNController::class, "setAccess"]); Route::get("/vpn/new", [\App\Http\Controllers\VPNController::class, "newView"]); Route::post("/vpn/new", [\App\Http\Controllers\VPNController::class, "new"]); Route::get("/vpn/sendToServer", [\App\Http\Controllers\VPNController::class, "sendToRest"]); Route::get("/vpn/peer", [\App\Http\Controllers\PeerController::class, "overview"]); Route::get("/vpn/peer/new", [\App\Http\Controllers\PeerController::class, "newView"]); Route::post("/vpn/peer/new", [\App\Http\Controllers\PeerController::class, "new"]); Route::get("/vpn/syncPeers", [\App\Http\Controllers\PeerController::class, "syncPeers"]); Route::get("/users", [\App\Http\Controllers\UsersController::class, "overview"]); Route::post("/users", [\App\Http\Controllers\UsersController::class, "updateUser"]); });