setter
parent
06c34b754e
commit
95432c96ef
|
@ -45,7 +45,7 @@ class Index extends Base
|
|||
*/
|
||||
public function dashboard()
|
||||
{
|
||||
$this->data["member_rule"] = array_filter(explode(",", $this->auth["rules"]));
|
||||
$this->data["member_rule"] = array_filter(explode(",", session('auth.rules')));
|
||||
$this->data["admin_rule"] = Member::MANAGER_ROLE_ID;
|
||||
return $this->view();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue