예제 #1
0
 public function editAction()
 {
     $this->setViewChange('form');
     if ($this->getRequest()->isPost()) {
         Model_Percents::editePercent($this->getRequest()->getQuery('id'), $this->getRequest()->getParams());
         $this->session->set('successfu_edite', true);
         $this->redirect($this->getRequest()->getBaseUrl() . $this->getRequest()->getModule() . '/percents/');
     }
     $this->getForm();
 }