/** * Update action * * @param \Planetflow3\Domain\Model\Category $category */ public function updateAction(\Planetflow3\Domain\Model\Category $category) { $this->categoryRepository->update($category); $this->addFlashMessage('Category updated.', 'Success', \TYPO3\FLOW3\Error\Message::SEVERITY_OK); $this->redirect('index'); }