From 57a9382de7569db1b1d4738431487e63d890f1e0 Mon Sep 17 00:00:00 2001 From: NishithaAddagatla Date: Sun, 25 Feb 2018 20:21:48 -0800 Subject: [PATCH] Update GPA value to the table Takes the value from the form and updates to the students table --- app/Http/routes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Http/routes.php b/app/Http/routes.php index 4976ed7..d28a278 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -39,6 +39,7 @@ $student->last_name = Request::get('last_name'); $student->dob = Request::get('dob'); $student->student_id = Request::get('student_id'); + $student->gpa = Request::get('gpa'); $student->save(); return Redirect::route('students');