changeset 81:fe5ea9b86091

Include replies
author nanaya <me@myconan.net>
date Sun, 26 Jun 2016 18:20:24 +0900
parents 448a368f7344
children f91e2d00f03f
files app/controllers/tweets_controller.rb
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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