app/Http/Controllers/ProdukController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        return view('produk.index', [
            'tittle' => 'Produk',
            'active' => 'supplier',
            'produks' => Produk::all(),
        ]);
    }
public function index ( ) { return view ( 'produk.index' , [ 'tittle' => 'Produk' , 'active' => 'supplier' , 'produks' => Produk :: all ( ) , ] ) ; }
Display a listing of the resource.
Display a listing of the resource .