/**
  * @return void
  */
 public function indexAction()
 {
     $account = $this->securityContext->getAccount();
     $this->view->assign('usrname', $account->getAccountIdentifier());
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
     $this->view->assign('posts', $this->postRepository->findAll());
 }
 /**
  * @return void
  */
 public function indexAction()
 {
     $this->view->assign('listCategories', $this->categoryRepository->findAll());
     $this->view->assign('posts', $this->postRepository->findAll());
 }