Watching Categories based on on group in discourse

This is because I added a find_by_slug method in Category model:

https://github.com/discourse/discourse/blob/be3a5a56ccc284b352aa65080fc6b955f73cc72a/app/models/category.rb#L454-L462

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.

2 Likes