/** * Display a listing of the resource. * * @return Response */ public function index() { // $article = Article::getNewsArticle(); $hotArticle = Article::getHotArticle(3); viewInit(); return homeView('index', array('article' => $article, 'hotArticle' => $hotArticle)); }