app/Http/Controllers/VinhosController.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()
    {
        $vinhos = Vinhos::all();
        $vinho_img = Vinhosimg::all();
        $categorias = category_wine::all();
        $users = User::all();
        return view('paginas.backend.vinhos.index', compact([
            'vinhos',
            'vinho_img',
            'categorias',
            'users'
        ]));
    }
public function index ( ) { $ vinhos = Vinhos :: all ( ) ; $ vinho_img = Vinhosimg :: all ( ) ; $ categorias = category_wine :: all ( ) ; $ users = User :: all ( ) ; return view ( 'paginas.backend.vinhos.index' , compact ( [ 'vinhos' , 'vinho_img' , 'categorias' , 'users' ] ) ) ; }
Display a listing of the resource.
Display a listing of the resource .