mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-24 22:11:01 -06:00
Merge pull request #802 from openclassify/vedat
added category slug && create url
This commit is contained in:
commit
1a2e1ba3b8
@ -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