Permalink
Browse files

fixed sessions2

  • Loading branch information...
1 parent 892f862 commit 72c30a900b600937cefdc44291e95311ca6362d5 @chrismatthieu committed Oct 12, 2010
Showing with 8 additions and 8 deletions.
  1. +8 −8 app/controllers/facebook_controller.rb
@@ -7,14 +7,14 @@ def index
if session["id"]
- # Check to see if it's me
- user_json = access_token.get('/me')
- if !user_json.nil?
- result = JSON.parse(user_json)
- session["id"] = result["id"]
- else
- session["id"] = nil
- end
+ # # Check to see if it's me
+ # user_json = access_token.get('/me')
+ # if !user_json.nil?
+ # result = JSON.parse(user_json)
+ # session["id"] = result["id"]
+ # else
+ # session["id"] = nil
+ # end
@user = User.find_by_facebookid(session["id"])

0 comments on commit 72c30a9

Please sign in to comment.