localize app

This commit is contained in:
Zachary Chai
2016-11-03 17:23:00 -04:00
parent 84fb5c617f
commit bea502a5a2
12 changed files with 91 additions and 65 deletions

View File

@ -1,5 +1,5 @@
Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, ENV['TWITTER_ID'], ENV['TWITTER_SECRET']
provider :google_oauth2, ENV['GOOGLE_OAUTH2_ID'], ENV['GOOGLE_OAUTH2_SECRET'],
scope: 'profile', access_type: 'online', name: 'google'
scope: ['profile'], access_type: 'online', name: 'google'
end