app/Http/Controllers/ReceitasController.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()
    {
        $receitas = receitas::all();
        $category_wines = category_wine::all();
        $Users = User::all();
        $categories_wines = category_wine::all();
        return view('paginas.backend.receitas.index', compact('receitas', 'category_wines', 'Users', 'categories_wines'));
    }
public function index ( ) { $ receitas = receitas :: all ( ) ; $ category_wines = category_wine :: all ( ) ; $ Users = User :: all ( ) ; $ categories_wines = category_wine :: all ( ) ; return view ( 'paginas.backend.receitas.index' , compact ( 'receitas' , 'category_wines' , 'Users' , 'categories_wines' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .