/api/v1/custom_emojis: forgot to include the category
This commit is contained in:
parent
9b0125d325
commit
d55c272b46
|
@ -5,6 +5,6 @@ class Api::V1::CustomEmojisController < Api::BaseController
|
|||
|
||||
def index
|
||||
expires_in 3.minutes, public: true
|
||||
render_with_cache(each_serializer: REST::CustomEmojiSerializer) { CustomEmoji.enabled }
|
||||
render_with_cache(each_serializer: REST::CustomEmojiSerializer) { CustomEmoji.enabled.includes(:category) }
|
||||
end
|
||||
end
|
||||
|
|
Reference in New Issue