view config/initializers/twitter_tweet_cache_key.rb @ 112:dac5a66e2c73

Update to rails 5.0.1
author nanaya <me@myconan.net>
date Wed, 21 Dec 2016 16:15:05 +0900
parents 148d8c17cb79
children
line wrap: on
line source

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