app/Http/Controllers/CodsController.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()
    {
        $cod = cod::all();
        return view('cod.index')
        ->with('cod', $cod);
    }
public function index ( ) { $ cod = cod :: all ( ) ; return view ( 'cod.index' ) -> with ( 'cod' , $ cod ) ; }
Display a listing of the resource.
Display a listing of the resource .