mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -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(
|
||||
'id' => $cat->id,
|
||||
'name' => $cat->name,
|
||||
'parents' => $link
|
||||
'parents' => $link,
|
||||
'slug' => $cat->slug
|
||||
);
|
||||
}
|
||||
return $data;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user