mirror of
https://github.com/openclassify/openclassify.git
synced 2026-02-09 06:46:08 -06:00
added category slug && create url
This commit is contained in:
parent
907d31fcac
commit
3d6b828e0b
@ -144,7 +144,8 @@ class CategoryModel extends CatsCategoryEntryModel implements CategoryInterface
|
|||||||
$data[] = array(
|
$data[] = array(
|
||||||
'id' => $cat->id,
|
'id' => $cat->id,
|
||||||
'name' => $cat->name,
|
'name' => $cat->name,
|
||||||
'parents' => $link
|
'parents' => $link,
|
||||||
|
'slug' => $cat->slug
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return $data;
|
return $data;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user