Thank In Advance for view my question
I am working on laravel 5.6 . i am making condition with if statement
like
if($value == 5){
return redirect('Mycon/Home');
}else{
//some thing
}
i am also use use Illuminate\Support\Facades\Redirect; on controller file. My condition work and also redirect to right url mean http://localhost/sample/test/Mycon/Home But After redirect url is right but error show like Sorry, the page you are looking for could not be found.
I am also add function in route file like Route::get('/Home', 'Mycon@Home');
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire