Load category when getting notifications

This commit is contained in:
Toby Zerner 2015-05-30 13:58:37 +09:30
parent 8bb8122283
commit 45c4cffeea

View File

@ -44,7 +44,9 @@ class CategoriesServiceProvider extends ServiceProvider
new ApiInclude(['discussions.index', 'discussions.show'], 'category', true),
new ApiInclude(['activity.index'], 'subject.discussion.category', true),
new ApiInclude('activity.index', 'subject.discussion.category', true),
new ApiInclude('notifications.index', 'subject.category', true),
(new Permission('discussion.move'))
->serialize()