public function getIndex() { $users = User::paginate(Config::get('spratly::spratly.records_per_page', 15)); return View::make('spratly::user.index')->with('users', $users); }