Commit 7825651e authored by Alfonso Rafael Solis Rangel's avatar Alfonso Rafael Solis Rangel
Browse files

Redireccion de ruta raiz

parent 2ad21b80
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -20,7 +20,11 @@
use App\Http\Controllers\TelefonoInstController;

Route::get('/', function () {
    return view('welcome');
    if(!auth()->user()){
        return redirect()->route('login');
    }else{
        return redirect()->route('dashboard');
    }
});

Route::middleware([