From e1e98d0229b8b79de2105515f0312903a23dc335 Mon Sep 17 00:00:00 2001 From: luca-marie Date: Wed, 24 Aug 2016 15:23:07 +0200 Subject: Update with Twitter --- config/defaults.yml | 6 ++++++ config/routes.rb | 2 ++ 2 files changed, 8 insertions(+) (limited to 'config') diff --git a/config/defaults.yml b/config/defaults.yml index 7e2ea58..1c9195f 100644 --- a/config/defaults.yml +++ b/config/defaults.yml @@ -32,6 +32,7 @@ common: &common pagination_size: 30 auth: token_expires_after: 60 + # handles that will be blocked from being used as logins or email aliases # in addition to the ones in /etc/passwd and http://tools.ietf.org/html/rfc2142 handle_blacklist: @@ -125,6 +126,11 @@ development: secret_token: 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' reraise_errors: true + twitter: + consumer_key : Change_to_your_consumer_key + consumer_secret : Change_to_your_consumer_secret + bearer_token : Change_to_your_bearer_token + test: <<: *downloads <<: *dev_ca diff --git a/config/routes.rb b/config/routes.rb index b152c9c..cb39dc6 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,6 @@ LeapWeb::Application.routes.draw do + get 'twitter/index' + # # Please do not use root_path or root_url. Use home_path and home_url instead, # so that the path will be correctly prefixed with the locale. -- cgit v1.2.3