You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							35 lines
						
					
					
						
							1.0 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							35 lines
						
					
					
						
							1.0 KiB
						
					
					
				
								<?php
							 | 
						|
								
							 | 
						|
								use App\Http\Controllers\UsuariosController;
							 | 
						|
								use Illuminate\Support\Facades\Route;
							 | 
						|
								
							 | 
						|
								/*
							 | 
						|
								|--------------------------------------------------------------------------
							 | 
						|
								| Web Routes
							 | 
						|
								|--------------------------------------------------------------------------
							 | 
						|
								|
							 | 
						|
								| Here is where you can register web routes for your application. These
							 | 
						|
								| routes are loaded by the RouteServiceProvider and all of them will
							 | 
						|
								| be assigned to the "web" middleware group. Make something great!
							 | 
						|
								|
							 | 
						|
								*/
							 | 
						|
								
							 | 
						|
								Route::get('/', function () {
							 | 
						|
								    return view('auth.login');
							 | 
						|
								});
							 | 
						|
								
							 | 
						|
								Auth::routes(['register'=>true,'reset'=>false]);
							 | 
						|
								
							 | 
						|
								Route::get('/home', [App\Http\Controllers\HomeController::class, 'index'])->name('home');
							 | 
						|
								
							 | 
						|
								Route::get('/usuarios', [UsuariosController::class,'index'])->name('usuarios');
							 | 
						|
								
							 | 
						|
								Route::get('/usuarios/nuevo', [UsuariosController::class,'create'])->name('usuarios.create');
							 | 
						|
								
							 | 
						|
								Route::post('/usuarios/store', [UsuariosController::class,'store'])->name('usuarios.store');
							 | 
						|
								
							 | 
						|
								/*
							 | 
						|
								Route::get('/usuarios', function () {
							 | 
						|
								    return view('usuarios');
							 | 
						|
								})->name('usuarios');
							 | 
						|
								*/
							 | 
						|
								
							 |