public function actions() { $actions = parent::actions(); unset($actions['index']); unset($actions['view']); return $actions; }