diff --git a/app/Http/Controllers/SignupController.php b/app/Http/Controllers/SignupController.php index efcc69b..f16ff85 100644 --- a/app/Http/Controllers/SignupController.php +++ b/app/Http/Controllers/SignupController.php @@ -10,4 +10,9 @@ class SignupController extends Controller { return view("auth.signup"); } + + public function store() + { + dd("Post..."); + } } diff --git a/resources/views/auth/signup.blade.php b/resources/views/auth/signup.blade.php index 8df96a3..8acf537 100644 --- a/resources/views/auth/signup.blade.php +++ b/resources/views/auth/signup.blade.php @@ -9,7 +9,8 @@
-
+ + @csrf
diff --git a/routes/web.php b/routes/web.php index a5f0a48..3e06f63 100644 --- a/routes/web.php +++ b/routes/web.php @@ -9,3 +9,4 @@ Route::get('/', function () { }); Route::get("/signup", [SignupController::class, "index"]); +Route::post("/signup", [SignupController::class, "store"]);