yii2 rest override update action code example
Example: yii2 rest override update action
public function actions()
{
$actions = parent::actions();
unset($actions['create']);
return $actions;
}
public function actions()
{
$actions = parent::actions();
unset($actions['create']);
return $actions;
}