From 503158b0cf2849e589a5d2728c591a7f0e65e00d Mon Sep 17 00:00:00 2001 From: "Holly \"Frinkeldoodle\" Lotor" Date: Fri, 17 Jan 2020 07:15:13 +0000 Subject: Fix typo --- app/controllers/api/v1/custom_emojis_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/api') diff --git a/app/controllers/api/v1/custom_emojis_controller.rb b/app/controllers/api/v1/custom_emojis_controller.rb index 6ddb5936c..e3689a269 100644 --- a/app/controllers/api/v1/custom_emojis_controller.rb +++ b/app/controllers/api/v1/custom_emojis_controller.rb @@ -7,6 +7,6 @@ class Api::V1::CustomEmojisController < Api::BaseController def index expires_in 3.minutes, public: true - render_with_cache(each:serializer: REST:CustomEmojiSerializer) { CustomEmoji.local.where(disabled: false) } + render_with_cache(each_serializer: REST::CustomEmojiSerializer) { CustomEmoji.local.where(disabled: false) } end end -- cgit