public function __construct() { $this->model = Users::getInstance(); if (!$this->isAdmin()) { return Redirect::to("logout"); } }
/** * Create a new controller instance. * * @return void */ public function __construct() { $this->model = Users::getInstance(); }