app/Http/Controllers/CosteoController.php
/**
     * Show the form for creating a new resource.
     *
     * @return \Illuminate\Http\Response
     */
Show the form for creating a new resource.
@return \Illuminate\Http\Response
Show the form for creating a new resource . @return \ Illuminate \ Http \ Response
public function create()
    {
        $productos = Producto::all();
        return view('costeo.Crear_Editar',["productos"=>$productos]);
    }
public function create ( ) { $ productos = Producto :: all ( ) ; return view ( 'costeo.Crear_Editar' , [ " productos " => $ productos ] ) ; }
Show the form for creating a new resource.
Show the form for creating a new resource .