You Are Here: Home » Uncategorized
Laravel: How to Catch all routes / any routes?
Advertisement
Route::any( '{catchall}', function(){
// return redirect( 'https://digitizor.com' )
// OR, Do something here
})->where( 'catchall', '.*' );
Advertisement