devise_facebook_connectable 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,18 +43,18 @@ module Devise #:nodoc:
|
|
43
43
|
|
44
44
|
# Deprecated in favor for +facebook_sign_in_link+.
|
45
45
|
#
|
46
|
-
def facebook_login_link(
|
46
|
+
def facebook_login_link(*args)
|
47
47
|
::ActiveSupport::Deprecation.warn("DEPRECATION:" <<
|
48
48
|
" facebook_login_link is deprecated. Use: facebook_sign_in_link.")
|
49
|
-
facebook_sign_in_link(
|
49
|
+
facebook_sign_in_link(*args)
|
50
50
|
end
|
51
51
|
|
52
52
|
# Deprecated in favor for +facebook_sign_in_link+.
|
53
53
|
#
|
54
|
-
def facebook_logout_link(
|
54
|
+
def facebook_logout_link(*args)
|
55
55
|
::ActiveSupport::Deprecation.warn("DEPRECATION:" <<
|
56
56
|
" facebook_logout_link is deprecated. Use: facebook_sign_out_link.")
|
57
|
-
facebook_sign_out_link(
|
57
|
+
facebook_sign_out_link(*args)
|
58
58
|
end
|
59
59
|
|
60
60
|
# Agnostic Facebook Connect sign in/out (connect) button/link.
|
@@ -66,7 +66,7 @@ module Devise #:nodoc:
|
|
66
66
|
# *Case 2:* If account is not connected to the app/site already;
|
67
67
|
# then this is the same as a traditional "create account".
|
68
68
|
#
|
69
|
-
def facebook_sign_in_link(
|
69
|
+
def facebook_sign_in_link(*args)
|
70
70
|
scope = auto_detect_scope(*args)
|
71
71
|
options = args.extract_options!
|
72
72
|
options.except!(:scope, :for)
|
@@ -124,7 +124,7 @@ module Devise #:nodoc:
|
|
124
124
|
#
|
125
125
|
# * http://wiki.developers.facebook.com/index.php/Auth.revokeAuthorization
|
126
126
|
#
|
127
|
-
def facebook_disconnect_link(
|
127
|
+
def facebook_disconnect_link(*args)
|
128
128
|
raise "facebook_disconnect_link: Not implemented yet."
|
129
129
|
# TODO:
|
130
130
|
# options.reverse_merge!(
|