Profile fields and update tests

This commit is contained in:
PovilasKorop
2021-11-01 07:48:35 +02:00
parent 583796d502
commit 177b740701
3 changed files with 92 additions and 19 deletions
+1 -1
View File
@@ -16,6 +16,6 @@ class ProfileController extends Controller
// Task: fill in the code here to update name and email
// Also, update the password if it is set
return redirect()->back()->with('success', 'Profile updated.');
return redirect()->route('profile.show')->with('success', 'Profile updated.');
}
}