/** * Display a listing of the resource. * * @throws Symfony\Component\HttpKernel\Exception\NotFoundHttpException * @return Response */ public function index() { $category = $this->getCategory(); $cms = Cms::newInstance(); $articles = Article::listFromCategoryAdmin($this->category->id); return view('newmarkets\\content::admin.article.index', compact('cms', 'category', 'articles')); }