diff app/controllers/tweets_controller.rb @ 86:5bfc986200db

The caching becomes a bit confusing because of parameters
author nanaya <me@myconan.net>
date Mon, 27 Jun 2016 05:14:10 +0900
parents fe5ea9b86091
children b01b5265e6d1
line wrap: on
line diff
--- a/app/controllers/tweets_controller.rb	Mon Jun 27 05:12:40 2016 +0900
+++ b/app/controllers/tweets_controller.rb	Mon Jun 27 05:14:10 2016 +0900
@@ -6,7 +6,7 @@
 
   def show
     client = Tweet.new(params[:id])
-    @tweets = client.timeline :exclude_replies => false, :count => 40
+    @tweets = client.timeline
     @user = client.user
   rescue Twitter::Error::NotFound
     head :not_found