/** * Display a listing of the resource. * * @return Response */ public function index() { $this->data['items'] = User::paginate($this->perPage); View::share('data', $this->data); return View::make('sysguard::resource.user.index'); }