This is because I added a find_by_slug
method in Category
model:
As you can see in above snippet, this method requires both category_slug
and parent_category_slug
, so you will have to pass parent_category_slug
as well if applicable.
This is because I added a find_by_slug
method in Category
model:
As you can see in above snippet, this method requires both category_slug
and parent_category_slug
, so you will have to pass parent_category_slug
as well if applicable.