diff options
author | ThibG <thib@sitedethib.com> | 2018-08-21 19:54:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 19:54:21 +0200 |
commit | 37965ac8d9773ae79f6b8dd6fcd353894d2194ca (patch) | |
tree | 51f194442d2ec7ab760b443b98c7685f64481ca7 /app/controllers/emojis_controller.rb | |
parent | c78918162642649ce294d89effbf2e815c2aa327 (diff) | |
parent | 8b4abaa90d8dff64525d92c3ba1c750356608240 (diff) |
Merge pull request #660 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/controllers/emojis_controller.rb')
-rw-r--r-- | app/controllers/emojis_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/emojis_controller.rb b/app/controllers/emojis_controller.rb index c9725ccc0..5d306e600 100644 --- a/app/controllers/emojis_controller.rb +++ b/app/controllers/emojis_controller.rb @@ -9,7 +9,7 @@ class EmojisController < ApplicationController format.json do skip_session! - render_cached_json(['activitypub', 'emoji', @emoji.cache_key], content_type: 'application/activity+json') do + render_cached_json(['activitypub', 'emoji', @emoji], content_type: 'application/activity+json') do ActiveModelSerializers::SerializableResource.new(@emoji, serializer: ActivityPub::EmojiSerializer, adapter: ActivityPub::Adapter) end end |