summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authortheaamanda <theaamanda@users.noreply.github.com>2016-09-06 09:27:07 +0200
committerGitHub <noreply@github.com>2016-09-06 09:27:07 +0200
commit3b638103ae7c6094d79812f4cbd44bfce320a217 (patch)
tree4d94d9d077d2925172d6a4444a0cb54868101d87 /app/helpers
parent3f83e3078043de06270ec0c406a672f9641ff213 (diff)
parent92e7b90d619111fdaaf50ab0b8538c39605fe005 (diff)
Merge pull request #1 from LoadToCode/marie
Updating the view and CSS, no pic and twitter handle in each tweet;
Diffstat (limited to 'app/helpers')
-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