| xqd
@@ -36,8 +36,9 @@ class AdminUserController extends BaseController
|
|
|
{
|
|
|
$admin_role_options = $this->adminRole->getOptions();
|
|
|
list($model, $model_name, $pre_uri) = array($this->model, $this->model_name, $this->pre_uri);
|
|
|
- return view($this->redirect_index, compact('model', 'model_name','pre_uri', 'admin_role_options'));
|
|
|
+ return view($this->view_path.'index', compact('model', 'model_name','pre_uri', 'admin_role_options'));
|
|
|
}
|
|
|
+
|
|
|
public function get(Request $request)
|
|
|
{
|
|
|
$items = $this->model->where('id', '>', 0);
|