Moved everything under annotations.

Some review is still needed.
This commit is contained in:
Polonkai Gergely
2012-07-13 12:07:21 +02:00
parent 60b5eecbc8
commit 00190c3e37
41 changed files with 3264 additions and 2509 deletions

View File

@@ -16,7 +16,7 @@ class NewsExtension extends \Twig_Extension
public function getGlobals()
{
$newsRepo = $this->doctrine->getRepository('KekRozsakFrontBundle:News');
$news = $newsRepo->findBy(array(), array('created_at' => 'DESC'), 4);
$news = $newsRepo->findBy(array(), array('createdAt' => 'DESC'), 4);
return array(
'recentNews' => $news,