public function articlesAction()
{
$em = \Zend_Registry::get('container')->get('em');
$topicId = $this->_getParam('id');
$gimme = CampTemplate::singleton()->context();
$language = $em->getRepository('Newscoop\\Entity\\Language')->findOneByCode($this->_getParam('language'));
$query = $em->getRepository('Newscoop\\NewscoopBundle\\Entity\\Topic')->getSingleTopicQuery($topicId, $language->getCode());
$topic = $query->getOneOrNullResult();
if (!$topic) {
throw new \Exception('We can\'t find that topic');
}
$gimme->topic = new \MetaTopic($topic->getId());
$this->view->topic = $gimme->topic;
}