diff --git a/BD/modelo.mwb b/BD/modelo.mwb new file mode 100644 index 0000000..860f16a Binary files /dev/null and b/BD/modelo.mwb differ diff --git a/app/Http/Controllers/CategoriasController.php b/app/Http/Controllers/CategoriasController.php index 4d83c7e..e132a98 100644 --- a/app/Http/Controllers/CategoriasController.php +++ b/app/Http/Controllers/CategoriasController.php @@ -29,6 +29,7 @@ class CategoriasController extends Controller } public function show($id){ $categoria = Categorias::findOrfail($id); + $categoria->formatear_texto(); return view('categorias.show', ["cat"=>$categoria]); } diff --git a/app/Http/Controllers/ProductoController.php b/app/Http/Controllers/ProductoController.php new file mode 100644 index 0000000..39a1900 --- /dev/null +++ b/app/Http/Controllers/ProductoController.php @@ -0,0 +1,10 @@ +nombre = ucwords(strtolower($this->nombre)); + $this->update(); + } + +} + diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 3353350..a09134f 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -7,127 +7,43 @@
El usuario es : {{Auth::user()->name}}
+el mail es : {{Auth::user()->email}}
-- Laravel has wonderful documentation covering every aspect of the framework. Whether you are a newcomer or have prior experience with Laravel, we recommend reading our documentation from beginning to end. -
-- Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process. -
-- Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials. -
-Debe Iniciar Sesion
+ +