Answers for "laravel redirect back with errors and with input"

PHP
1

laravel redirect back with errors and input

return redirect()->back()->withInput();
Posted by: Guest on November-03-2020
1

return redirect with message laravel

Route::post('user/profile', function () {
    // Update the user's profile...

    return redirect('dashboard')->with('status', 'Profile updated!');
});
Posted by: Guest on October-26-2020

Code answers related to "laravel redirect back with errors and with input"

Browse Popular Code Answers by Language