예제 #1
0
 public function __construct()
 {
     $this->middleware('auth', ['except' => ['index', 'show']]);
     parent::__construct();
 }
예제 #2
0
 /**
  * Create a new authentication controller instance.
  *
  * @return void
  */
 public function __construct()
 {
     $this->middleware('guest', ['except' => 'getLogout']);
     parent::__construct();
 }