GitHub User: fwuensche
Notice that if you don't want your users to be logged out from Facebook when logging out from your app you should change your javascript file to the following code. Any better solutions for that?
$('#sign_out').click (e) -> FB.getLoginStatus (response) -> window.location = '/signout' if response.authResponse true
PS: I'm doing it just because I find it annoying to logout users from Facebook without asking them to do so.
Did anyone find another solution than just using gem 'omniauth-facebook', '1.4.0' ?
Notice that if you don't want your users to be logged out from Facebook when logging out from your app you should change your javascript file to the following code. Any better solutions for that?
$('#sign_out').click (e) -> FB.getLoginStatus (response) -> window.location = '/signout' if response.authResponse truePS: I'm doing it just because I find it annoying to logout users from Facebook without asking them to do so.
Did anyone find another solution than just using gem 'omniauth-facebook', '1.4.0' ?