예제 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function getIndex()
 {
     $slides = Slides::all();
     return view('admin.slides.index', compact('slides'));
 }
예제 #2
0
 private function Slides()
 {
     return $this->fetchTable(Slides::all());
 }