/** * List all users */ public function backend_index() { $users = Users::all(array('with' => 'UserGroups')); return compact('users'); }