/** * Show the users index page. * * @return \Response */ public function getIndex($users) { $userList = $this->users->findByUsername($users); //var_dump($userList); $this->view('admin.users.companyinfo', compact('userList')); }