buddy 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/buddy/rails/controller.rb +2 -2
- data/lib/buddy/version.rb +1 -1
- metadata +1 -1
@@ -42,11 +42,11 @@ module Buddy
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def new_facebook_session
|
45
|
-
Buddy::Session.create(Buddy.
|
45
|
+
Buddy::Session::User.create(Buddy.config['app_id'], Buddy.config['secret'])
|
46
46
|
end
|
47
47
|
|
48
48
|
def set_facebook_session
|
49
|
-
Session.current = facebook_session
|
49
|
+
Buddy::Session::User.current = facebook_session
|
50
50
|
return facebook_session.secured?
|
51
51
|
end
|
52
52
|
|
data/lib/buddy/version.rb
CHANGED