예제 #1
0
 public function addSliderPage()
 {
     $query = Slider::select('slider_id')->get();
     foreach ($query as $row) {
         $id = $row->slider_id;
     }
     return View::make('Dashboard.ContentManagement.Sliders.Add')->with('query', $id + 1);
 }