Blog
Packages & Docs
Quizzes
Resources
Me
Search Blog & Packages
Login
GitHub
GitHub
Blog
Packages & Docs
Quizzes
Resources
Me
Quiz Question Issue
Quiz Question Issue
Use this form to report an issue with a question on a quiz.
Question Information
Topic
Laravel
Question
Select the redirect that best takes a user ID as a parameter and will flash a success message on page load. Assume the following controller method:
Does this have to do with a specific option?
(Some options might not display correctly in a select box.)
Select Option (Optional)...
return redirect()->route('user.profile', $user) ->withFlashSuccess(__('The user was successfully updated.'));
return redirect()->route('user.profile', $user->id) ->withFlashSuccess(__('The user was successfully updated.'));
return redirect()->route('user.profile', $user->id) ->with('flash_success', __('The user was successfully updated.'));
return redirect()->url('user.profile', $user) ->withFlashSuccess(__('The user was successfully updated.'));
Issue
Your E-mail (Optional)
Send