Example #1
0
 /**
  * @param $id
  * @return mixed
  */
 public function actionUp($id)
 {
     MenuItem::moveUp($id);
     $success = ['swap_id' => $id];
     return $this->formatResponse($success, false);
 }