app/Http/Controllers/Backsite/ConfigPaymentController.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()
    {
        abort_if(Gate::denies('config_payment_access'), Response::HTTP_FORBIDDEN, '403 Forbidden');
        $config_payment = ConfigPayment::all();
        return view('pages.backsite.master-data.config-payment.index', compact('config_payment'));
    }
public function index ( ) { abort_if ( Gate :: denies ( 'config_payment_access' ) , Response :: HTTP_FORBIDDEN , '403 Forbidden' ) ; $ config_payment = ConfigPayment :: all ( ) ; return view ( 'pages.backsite.master-data.config-payment.index' , compact ( 'config_payment' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .