trafficmonitor init...2
This commit is contained in:
parent
e5a9f6c86f
commit
2faa54edbb
@ -76,7 +76,7 @@ abstract class CommonController extends BaseController
|
|||||||
}
|
}
|
||||||
protected function action_post_process(string $action, array $viewDatas): string|RedirectResponse
|
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는 마지막을 뺀 앞단까지만 남음
|
$lastest_path = array_pop($view_paths); //paths는 마지막을 뺀 앞단까지만 남음
|
||||||
switch ($action) {
|
switch ($action) {
|
||||||
case 'create_form':
|
case 'create_form':
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user