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'));
    }