/** * Create a new controller instance. * * @return void */ public function __construct() { parent::__construct(); //$this->middleware('admin'); //$this->middleware('author', ['only' => ['add', 'index']]); //$this->middleware('player', ['only' => ['add', 'index']]); //$this->middleware('guest', ['only' => ['get']]); }
/** * Create a new controller instance. * * @return void */ public function __construct() { parent::__construct(); //$this->middleware('admin'); }