Example #1
0
 public function _construct()
 {
     $this->middleware('auth', ['except' => ['show']]);
     parent::_construct();
 }
Example #2
0
 public function __construct()
 {
     $this->middleware('guest', ['except' => 'getLogout']);
     parent::_construct();
 }