Revert "FEATURE: add categories into article detail and article list"

This reverts commit bceef69a72.
This commit is contained in:
Michal Kváček
2016-10-10 19:03:32 +02:00
parent d9834fe068
commit 08e97fe2cb
3 changed files with 2 additions and 15 deletions
@@ -71,7 +71,7 @@ class ArticleList extends Handler
if ($categoryUrl && $categoriesEnabled) {
$category = Category::where('url', $categoryUrl)
->firstOrFail();
->first();
$subcategories = $category->getChildren()
->toArray();