setter
parent
95432c96ef
commit
731e7437a1
|
@ -45,7 +45,7 @@ class Index extends Base
|
|||
*/
|
||||
public function dashboard()
|
||||
{
|
||||
$this->data["member_rule"] = array_filter(explode(",", session('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