Fixed news list (didn't load without login)

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely
2012-08-15 14:25:08 +02:00
parent feda5d7d57
commit b5ffdf4ad7
3 changed files with 6 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ class NewsController extends Controller
$news = $newsRepo->findBy($searchCriteria, array('createdAt' => 'DESC'), 4);
return array(
'news' => $news,
'recentNews' => $news,
);
}
}