Skip to content

Commit

Permalink
debugging on heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbarr committed Feb 16, 2012
1 parent 54f92ba commit 44d7c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.rb
Expand Up @@ -48,8 +48,8 @@ def current_user
puts "AUTH WAS:: #{auth}"
user = User.first_or_create({ :uid => auth["uid"]}, {
:uid => auth["uid"],
:name => auth["user_info"]["name"],
:nickname => auth["user_info"]["nickname"],
:name => auth["user_info"]["screen_name"],
:nickname => auth["user_info"]["screen_name"],
:created_at => Time.now })
session[:user_id] = user.id
redirect '/all'
Expand Down

0 comments on commit 44d7c3e

Please sign in to comment.