예제 #1
0
 public function getListRole($roleid)
 {
     $rolelist = Usernhc::getRoleById($roleid);
     return View::make('rbac.ajax_rolelist')->with('paginator', $rolelist);
 }
예제 #2
0
 /**
  * [peerRoleList return list of user by role]
  * @param  [type] $roleid [description]
  * @return [type]         [description]
  */
 public function peerRoleList($roleid)
 {
     $rolelist = Usernhc::getRoleById($roleid);
     return View::make('peer.ajax_rolelist')->with('paginator', $rolelist);
 }