Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

switch to picking up keys from environment

  • Loading branch information...
commit f2e9b290545776f3ebd0161dad385bd13883ad04 1 parent 6dc8c7b
@tardate authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/environment.rb
View
4 config/environment.rb
@@ -78,9 +78,9 @@
TWOAUTH_SITE = 'http://twitter.com'
TWOAUTH_CALLBACK = 'http://rails-twitter-oauth-sample.heroku.com/members/callback'
# Twitter OAuth Consumer key
- TWOAUTH_KEY = 'y7CAd0Kr4f5XK697P5aRw'
+ TWOAUTH_KEY = ENV['TWOAUTH_KEY']
# Twitter OAuth Consumer secret
- TWOAUTH_SECRET = 'Oxa77eN8V1Ythjyq0XWF1JsfcYyORXesPr41de3ecQ'
+ TWOAUTH_SECRET = ENV['TWOAUTH_SECRET']
end
Please sign in to comment.
Something went wrong with that request. Please try again.