From 1fb193ee2b4e0e73930cf78072d516302112d327 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sun, 25 Aug 2013 13:11:06 +0200 Subject: [PATCH] ignore omniauth_secrets and dummy initialize in devise.rb --- .gitignore | 1 + config/initializers/devise.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index d88beef..a43cb4b 100755 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/config/initializers/omniauth_secrets.rb # See http://help.github.com/ignore-files/ for more about ignoring files. # # If you find yourself ignoring temporary files generated by your text editor diff --git a/config/initializers/devise.rb b/config/initializers/devise.rb index 5c4d4b8..f164676 100755 --- a/config/initializers/devise.rb +++ b/config/initializers/devise.rb @@ -223,7 +223,7 @@ Devise.setup do |config| # ==> OmniAuth # Add a new OmniAuth provider. Check the wiki for more information on setting # up on your models and hooks. - # config.omniauth :github, 'APP_ID', 'APP_SECRET', :scope => 'user,public_repo' + config.omniauth :facebook, 'appid', 'secret' # ==> Warden configuration # If you want to use other strategies, that are not supported by Devise, or