view config/initializers/twitter_tweet_cache_key.rb @ 216:2a3c7db6007a

Remove more middlewares
author nanaya <me@nanaya.pro>
date Fri, 11 Dec 2020 03:55:56 +0900
parents 148d8c17cb79
children
line wrap: on
line source

class Twitter::Tweet
  def cache_key
    "twitter/tweet/#{id}"
  end
end