diff options
author | theaamanda <theaamanda@users.noreply.github.com> | 2016-09-06 09:27:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 09:27:07 +0200 |
commit | 3b638103ae7c6094d79812f4cbd44bfce320a217 (patch) | |
tree | 4d94d9d077d2925172d6a4444a0cb54868101d87 /app/helpers | |
parent | 3f83e3078043de06270ec0c406a672f9641ff213 (diff) | |
parent | 92e7b90d619111fdaaf50ab0b8538c39605fe005 (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.rb | 2 |
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 |