Skip to content

Commit 3f1dd63

Browse files
committed
🐛 Fixes student create route
This route doesn't need validation since no data is being posted to it.
1 parent 70a7f6f commit 3f1dd63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/StudentsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function index(): View|ViewContract
5151
/**
5252
* Create a new student research application.
5353
*/
54-
public function create(StudentUpdateRequest $request): RedirectResponse
54+
public function create(Request $request): RedirectResponse
5555
{
5656
$student = $request->user()->studentProfiles->first() ?? $this->store($request);
5757

0 commit comments

Comments
 (0)