HOW do i keep forgetting things like this
This commit is contained in:
parent
8f55edbaa6
commit
df61f2d999
@ -4,7 +4,7 @@
|
|||||||
script.
|
script.
|
||||||
window.fbAsyncInit = function() {
|
window.fbAsyncInit = function() {
|
||||||
FB.init({
|
FB.init({
|
||||||
appId : '#{facebook_auth}',
|
appId : '#{auth.facebook}',
|
||||||
cookie : true,
|
cookie : true,
|
||||||
xfbml : true,
|
xfbml : true,
|
||||||
version : 'v2.8'
|
version : 'v2.8'
|
||||||
@ -31,7 +31,7 @@
|
|||||||
gapi.load('auth2', function(){
|
gapi.load('auth2', function(){
|
||||||
// Retrieve the singleton for the GoogleAuth library and set up the client.
|
// Retrieve the singleton for the GoogleAuth library and set up the client.
|
||||||
auth2 = gapi.auth2.init({
|
auth2 = gapi.auth2.init({
|
||||||
client_id: '#{google_auth}',
|
client_id: '#{auth.google}',
|
||||||
cookiepolicy: 'single_host_origin',
|
cookiepolicy: 'single_host_origin',
|
||||||
fetch_basic_profile: true
|
fetch_basic_profile: true
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user