view config/initializers/twitter_tweet_cache_key.rb @ 96:148d8c17cb79

Less monkeypatching rails, more monkeypatching tweet
author nanaya <me@myconan.net>
date Thu, 28 Jul 2016 04:25:47 +0900
parents
children
line wrap: on
line source

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