示例#1
0
 /**
  * List all the online links
  * @return \Illuminate\View\View
  */
 public function index()
 {
     $link_pages = OnlineOrder::orderBy('id')->get();
     $total_pages = OnlineOrder::all()->count();
     return View::make('admin.online_order.index', array('link_pages' => $link_pages, 'total' => $total_pages));
 }