Answers for "laravel redirect to route from javascript"

C#
3

laravel route redirect

Route::redirect('/here', '/there');
or
return redirect(route('register'));
Posted by: Guest on July-17-2021
0

javascript redirect laravel route

window.location.href = "{{ route('show-all-prescription')}}";
Posted by: Guest on April-20-2021
3

redirect to route laravel

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

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

Code answers related to "laravel redirect to route from javascript"

C# Answers by Framework

Browse Popular Code Answers by Language