diff --git a/app/Controllers/CommonController.php b/app/Controllers/CommonController.php index b152102..7af7e56 100644 --- a/app/Controllers/CommonController.php +++ b/app/Controllers/CommonController.php @@ -76,7 +76,7 @@ abstract class CommonController extends BaseController } protected function action_post_process(string $action, array $viewDatas): string|RedirectResponse { - $view_paths = array_key_exists('view_paths', $viewDatas) ? $viewDatas['paths'] : $this->getPaths(); + $view_paths = array_key_exists('view_paths', $viewDatas) ? $viewDatas['view_paths'] : $this->getPaths(); $lastest_path = array_pop($view_paths); //paths는 마지막을 뺀 앞단까지만 남음 switch ($action) { case 'create_form':