app/Http/Controllers/PublicController.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 kiosk()
    {
        $products = Product::all();
        $filter = "all";
        return view('kiosk', compact('products', 'filter'));
    }
public function kiosk ( ) { $ products = Product :: all ( ) ; $ filter = " all " ; return view ( 'kiosk' , compact ( 'products' , 'filter' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .