Modules\Recipe\Http\Controllers\Admin\RecipeController::index PHP Метод

index() публичный Метод

Display a listing of the resource.
public index ( ) : Response
Результат Response
    public function index()
    {
        $recipes = $this->recipe->all();
        return view('recipe::admin.recipes.index', compact('recipes'));
    }