Commit 36805cf2 authored by Alfonso Rafael Solis Rangel's avatar Alfonso Rafael Solis Rangel
Browse files

Testeando que lleguen todos los datos por el request

parent b01b14aa
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -39,7 +39,12 @@ public function create()
     */
    public function store(Request $request)
    {
        //
        $request->validate([
            'foto_perfil' => 'image|mimes:jpeg,png,jpg,gif|max:2048',
            'nombre' => 'required|max:255|string',
        ]);
        $contacto = Contacto::create($request->all());
        dd($request->all());
    }

    /**