diff app/controllers/tweets_controller.rb @ 81:fe5ea9b86091

Include replies
author nanaya <me@myconan.net>
date Sun, 26 Jun 2016 18:20:24 +0900
parents 5dd24a65547b
children 5bfc986200db
line wrap: on
line diff
--- a/app/controllers/tweets_controller.rb	Sun Jun 26 18:18:54 2016 +0900
+++ b/app/controllers/tweets_controller.rb	Sun Jun 26 18:20:24 2016 +0900
@@ -6,7 +6,7 @@
 
   def show
     client = Tweet.new(params[:id])
-    @tweets = client.timeline :exclude_replies => true, :count => 40
+    @tweets = client.timeline :exclude_replies => false, :count => 40
     @user = client.user
   rescue Twitter::Error::NotFound
     head :not_found