Conditions | 3 |
Paths | 3 |
Total Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
59 | App::$Session->getFlashBag()->add('success', __('Settings is successful updated')); |
||
60 | $this->response->redirect('user/index'); |
||
61 | } else { |
||
62 | App::$Session->getFlashBag()->add('error', __('Form validation is failed')); |
||
63 | } |
||
64 | } |
||
65 | |||
66 | // render view |
||
67 | return $this->view->render('user/settings', [ |
||
68 | 'model' => $model |
||
69 | ]); |
||
70 | } |
||
71 | } |
||
72 |