diff options
author | Holly "Frinkeldoodle" Lotor <admin@frinkel.tech> | 2020-01-17 07:15:13 +0000 |
---|---|---|
committer | Holly "Frinkeldoodle" Lotor <admin@frinkel.tech> | 2020-01-17 07:33:20 +0000 |
commit | 503158b0cf2849e589a5d2728c591a7f0e65e00d (patch) | |
tree | 33ba320052265a878c429c2593b094e296eaca7b /app/controllers | |
parent | 93151f0c51a0418cd51e270a0834c92a771910ab (diff) |
Fix typo
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/api/v1/custom_emojis_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |