Agregue catalogo y un poco de vistaUsuario

This commit is contained in:
2025-08-17 01:05:33 -03:00
parent eb61eabdd4
commit 7c0313bc49
6 changed files with 82 additions and 6 deletions
@@ -0,0 +1,16 @@
<?php
namespace App\Http\Controllers;
use App\Models\Product;
use Illuminate\Http\Request;
class CatalogoController extends Controller
{
public function catalogo()
{
$productos = Product::all();
return view('catalogo', compact('productos'));
}
}