Skip to content

Commit

Permalink
updated credential for heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
hlee committed Jun 23, 2013
1 parent 706504c commit 611555d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -243,5 +243,9 @@
# When using omniauth, Devise cannot automatically set Omniauth path,
# so you need to do it manually. For the users scope, it would be:
# config.omniauth_path_prefix = "/my_engine/users/auth"
config.omniauth :github, '6d7b4f715d4b81baedd3', 'c01e5c3688080c31cbc0205b87ca48eb98ae1d85'#ENV['TWITTER_KEY'], ENV['TWITTER_SECRET']
if Rails.env.production?
config.omniauth :github, '2ff9a048b45c5a22f5de', 'a6c18f5b19e6aa6cffc5ccf89191afaa24d08f45'#ENV['TWITTER_KEY'], ENV['TWITTER_SECRET']
elsif Rails.env.development?
config.omniauth :github, '6d7b4f715d4b81baedd3', 'c01e5c3688080c31cbc0205b87ca48eb98ae1d85'#ENV['TWITTER_KEY'], ENV['TWITTER_SECRET']
end
end

0 comments on commit 611555d

Please sign in to comment.