LaravelLocalization::setLocale()], function() { Auth::routes([ 'login' => TRUE, 'logout' => TRUE, 'reset' => FALSE, 'confirm' => FALSE, 'verify' => FALSE, 'register' => FALSE, ]); Route::get('home',[HomeController::class,'home']); Route::get('info',[HomeController::class,'info']); Route::post('dn',[HomeController::class,'dn_frame']); }); Route::redirect('/','home'); Route::get('logout',[LoginController::class,'logout']); Route::group(['prefix'=>'user'],function() { Route::get('image',[HomeController::class,'user_image']); });