/**
  * @param \SKL\Post\Domain\Model\Post $post
  * @return void
  */
 public function deleteAction(Post $post)
 {
     $this->postRepository->remove($post);
     $this->addFlashMessage('Deleted a post.');
     $this->redirect('index');
 }