Configured the Devise initializer with Facebook app keys

This commit is contained in:
Prelang Builder
2014-02-27 23:58:30 +00:00
committed by u7482
parent 921d763862
commit d97ab883f1
+1
View File
@@ -251,4 +251,5 @@ Devise.setup do |config|
# 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 :facebook, "", "ENV['FACEBOOK_SECRET_ID']"
end