Answers for "force redirect laravel"

PHP
0

force https redirection laravel

// app/Providers/AppServiceProvider.php
URL::forceScheme('https');
Posted by: Guest on June-21-2021
1

Redirect::route('profile') and with() in laravel

// For a route with the following URI: profile/{id}

return redirect()->route('profile', [$user]);
Posted by: Guest on May-30-2020
0

Redirect::route('profile') and with() in laravel

// For a route with the following URI: profile/{id}

return redirect()->route('profile', ['id' => 1]);
Posted by: Guest on May-30-2020

Code answers related to "force redirect laravel"

Browse Popular Code Answers by Language