Revert "FEATURE: add categories into article detail and article list"
This reverts commit bceef69a72.
This commit is contained in:
@@ -71,7 +71,7 @@ class ArticleList extends Handler
|
||||
|
||||
if ($categoryUrl && $categoriesEnabled) {
|
||||
$category = Category::where('url', $categoryUrl)
|
||||
->firstOrFail();
|
||||
->first();
|
||||
|
||||
$subcategories = $category->getChildren()
|
||||
->toArray();
|
||||
|
||||
Reference in New Issue
Block a user