Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

redirect to route 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: #redirect #route #laravel
ADD COMMENT
Topic
Name
9+6 =