]>
cat aescling's git repositories - mastodon.git/blob - app/controllers/emojis_controller.rb
1 # frozen_string_literal: true
3 class EmojisController
< ApplicationController
4 before_action
:set_emoji
5 before_action
:set_cache_headers
10 expires_in
3.minutes
, public
: true
11 render_with_cache json
: @emoji, content_type
: 'application/activity+json
', serializer: ActivityPub::EmojiSerializer, adapter: ActivityPub::Adapter
19 @emoji = CustomEmoji.local.find(params[:id])
This page took 0.076866 seconds and 4 git commands to generate.