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