mirror of
https://github.com/10h30/Test-Laravel-Auth-Basics.git
synced 2026-06-05 15:07:43 +09:00
Profile fields and update tests
This commit is contained in:
@@ -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.');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user