Skip to content

Commit

Permalink
Moved Facebook details to config/balder.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
grrowl committed Jan 21, 2013
1 parent 1d57cf5 commit 0f63fde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/balder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
#ENV['HEROKU'] = 'true'
#ENV['S3_KEY'] = ''
#ENV['S3_SECRET'] = ''
#ENV['S3_BUCKET'] = ''
#ENV['S3_BUCKET'] = ''
#ENV['FACEBOOK_ID'] = ''
#ENV['FACEBOOK_SECRET'] = ''
2 changes: 1 addition & 1 deletion config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Rails.application.config.middleware.use OmniAuth::Builder do
provider :developer unless Rails.env.production?
provider :facebook, '514233915287967', 'c3e63b8953d65c332ebb3a84dc2dc8c0'
(provider :facebook, ENV['FACEBOOK_ID'], ENV['FACEBOOK_SECRET']) unless ENV['FACEBOOK_ID'].nil?
end

0 comments on commit 0f63fde

Please sign in to comment.