diff --git a/app/Controllers/Admin/Customer/ServiceController.php b/app/Controllers/Admin/Customer/ServiceController.php index 0345a5c..efab706 100644 --- a/app/Controllers/Admin/Customer/ServiceController.php +++ b/app/Controllers/Admin/Customer/ServiceController.php @@ -45,20 +45,20 @@ class ServiceController extends CustomerController } return $this->_serviceItemService; } - // protected function getResultSuccess(string $message = MESSAGES["SUCCESS"]): RedirectResponse|string - // { - // switch ($this->getAction()) { - // case 'index': - // $this->control = $this->getControlDatas(); - // $this->getHelper()->setViewDatas($this->getViewDatas()); - // $result = view($this->view_path . 'service' . DIRECTORY_SEPARATOR . $this->getAction(), ['viewDatas' => $this->getViewDatas()]); - // break; - // default: - // $result = parent::getResultSuccess($message); - // break; - // } - // return $result; - // } + protected function getResultSuccess(string $message = MESSAGES["SUCCESS"]): RedirectResponse|string + { + switch ($this->getAction()) { + case 'index': + $this->control = $this->getControlDatas(); + $this->getHelper()->setViewDatas($this->getViewDatas()); + $result = view($this->view_path . 'service' . DIRECTORY_SEPARATOR . $this->getAction(), ['viewDatas' => $this->getViewDatas()]); + break; + default: + $result = parent::getResultSuccess($message); + break; + } + return $result; + } //Index,FieldForm관련 protected function index_process(): array {