Exemplo n.º 1
0
 public function action_delete()
 {
     $this->model->delete();
     Session::instance()->set('success', 'Registro removido com sucesso!');
     $this->flush();
     return HTTP::redirect('manager/' . strtolower($this->model_name));
 }