Commit de l'action de suppression des criteres
This commit is contained in:
parent
a4391f3886
commit
d6b00d4063
@ -22,7 +22,7 @@ Class IndexController extends Libs_Controller
|
||||
|
||||
public function criteresAction()
|
||||
{
|
||||
$this->_helper->layout()->disableLayout();
|
||||
/*$this->_helper->layout()->disableLayout();*/
|
||||
require_once 'Scores/SessionCiblage.php';
|
||||
require_once 'Scores/Field.php';
|
||||
$session = new SessionCiblage();
|
||||
@ -31,5 +31,13 @@ Class IndexController extends Libs_Controller
|
||||
$this->view->criteres = $session->getCriteres();
|
||||
}
|
||||
|
||||
public function removeAction()
|
||||
{
|
||||
require_once('Scores/SessionCiblage.php');
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$session = new SessionCiblage();
|
||||
$session->unsetCritere($this->getRequest()->getParam('critere'));
|
||||
$this->_redirect('/');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user