Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

return redirect with message laravel

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

    return redirect('dashboard')->with('status', 'Profile updated!');
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #return #redirect #message #laravel
ADD COMMENT
Topic
Name
2+5 =