Exemplo n.º 1
0
 public function createAction()
 {
     $this->setViewChange('form');
     $request = $this->getRequest();
     if ($request->isPost()) {
         Model_Forum::create($request->getParams());
         $this->session->set('successfu_edite', true);
         $this->redirect($request->getBaseUrl() . $request->getModule() . '/forum/');
     }
     $this->getForm();
 }