Exemplo n.º 1
0
 public function deleteAction()
 {
     $feature = $this->byId();
     $this->featureService->deleteFeature($feature);
     if (!$this->_getParam('_ajax')) {
         $this->redirect('project', 'view', array('id' => $feature->projectid, '#features'));
     }
 }