summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
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.