summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorluca-marie <ml.kochsiek@fu-berlin.de>2016-08-24 15:23:07 +0200
committerthea <ta.kupler@gmail.com>2016-09-01 12:08:46 +0200
commite1e98d0229b8b79de2105515f0312903a23dc335 (patch)
tree2a7b0c492ffbd9819f05b226e263d5826fcc44d9 /config
parent92481029074f34342cc35937f3aab94aca7887c7 (diff)
Update with Twitter
Diffstat (limited to 'config')
-rw-r--r--config/defaults.yml6
-rw-r--r--config/routes.rb2
2 files changed, 8 insertions, 0 deletions
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.