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