/** * Updates an existing blog * * @param Tx_BlogExample_Domain_Model_Blog $blog A not yet persisted clone of the original blog containing the modifications * @return void */ public function updateAction(Tx_BlogExample_Domain_Model_Blog $blog) { // TODO access protection $this->blogRepository->update($blog); $this->addFlashMessage('updated'); $this->redirect('index'); }