summaryrefslogtreecommitdiff
path: root/app/helpers/twitter_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/twitter_helper.rb')
-rw-r--r--app/helpers/twitter_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/twitter_helper.rb b/app/helpers/twitter_helper.rb
index b360895..1081c05 100644
--- a/app/helpers/twitter_helper.rb
+++ b/app/helpers/twitter_helper.rb
@@ -20,6 +20,6 @@ module TwitterHelper
end
def tweets
- twitter_client.user_timeline(twitter_handle).select{ |tweet| tweet.text.start_with?('RT','@')==false}
+ twitter_client.user_timeline(twitter_handle).select{ |tweet| tweet.text.start_with?('RT','@')==false}.take(3)
end
end