Fixed news list (didn't load without login)
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
@@ -32,7 +32,7 @@ class NewsController extends Controller
|
||||
$news = $newsRepo->findBy($searchCriteria, array('createdAt' => 'DESC'), 4);
|
||||
|
||||
return array(
|
||||
'news' => $news,
|
||||
'recentNews' => $news,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user