Skip to content
Browse files

fixing mistake

  • Loading branch information...
1 parent 7c50921 commit bf201603864a5db75bbdcf428de89896ce53091f erik committed Nov 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/oauth_connect.rb
View
2 lib/oauth_connect.rb
@@ -15,7 +15,7 @@ def fb_access_token(code)
:client_id => SETTINGS[:facebook][:key],
:client_secret => SETTINGS[:facebook][:secret],
:redirect_uri => SETTINGS[:facebook][:callback_url],
- :code => params[:code],
+ :code => code,
:parse => :query
})

0 comments on commit bf20160

Please sign in to comment.
Something went wrong with that request. Please try again.