<?php namespace api\controllers; use api\logic\Helper; use backend\modules\shop\models\ars\Address; use Yii; use yii\rest\ActiveController; use yii\web\NotFoundHttpException; /** * @author iron * @email weiriron@gmail.com */ class TakingSiteController extends ActiveController { public $modelClass = 'backend\modules\shop\models\ars\TakingSite'; public function actions() { $action = parent::actions(); unset($action['delete']); unset($action['update']); unset($action['options']); return $action; } }