public function score() { $scores = Application::paginate(10); return View::make('成绩查询')->with('scores', $scores); }
/** * Display a listing of the resource. * GET /application * * @return Response */ public function index() { return View::make('admin.applications.index')->with('applications', Application::paginate('10')); }