예제 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     return view('admin.categories.list', array('data' => Categories::paginate(10)));
 }
예제 #2
0
 /**
  * @return \Illuminate\View\View
  */
 public function index()
 {
     $categories = Categories::paginate(15);
     return view('admin.orders.categories', array('categories' => $categories, 'user' => $this->user));
 }