app/Http/Controllers/Backend/SliderController.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()
    {
        $sliders = Slider::paginate(10);
         return view('backend.slider.index',compact('sliders'));
    }
public function index ( ) { $ sliders = Slider :: paginate ( 10 ) ; return view ( 'backend.slider.index' , compact ( 'sliders' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
// dd($Sliders);