summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorluca-marie <ml.kochsiek@fu-berlin.de>2016-08-29 17:39:46 +0200
committerthea <ta.kupler@gmail.com>2016-09-01 12:09:37 +0200
commitea3fc6ffbb8f90aff28ce56fe4432a8d3ff18caa (patch)
tree0cd03af6e30206c272c9fe2b8cd78fdc51c17b24 /app/helpers
parente3af6664f997d4dff227fdcd0246eff516520e96 (diff)
Changes mainly on CSS 'fine tuning' and shortening the Twitter API credentials,
- only bearer token is needed to access Twitter API
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/twitter_helper.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/helpers/twitter_helper.rb b/app/helpers/twitter_helper.rb
index b01293f..d20b7da 100644
--- a/app/helpers/twitter_helper.rb
+++ b/app/helpers/twitter_helper.rb
@@ -5,8 +5,6 @@ module TwitterHelper
def twitter_client
Twitter::REST::Client.new do |config|
- config.consumer_key = Rails.application.secrets.twitter['consumer_key']
- config.consumer_secret = Rails.application.secrets.twitter['consumer_secret']
config.bearer_token = Rails.application.secrets.twitter['bearer_token']
end
end