muck-auth 3.3.1 → 3.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/app/controllers/muck/authentications_controller.rb +11 -7
- data/muck-auth.gemspec +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -28,7 +28,7 @@ Here's a list of common oauth services. For a complete list of all available ser
|
|
28
28
|
https://github.com/intridea/omniauth
|
29
29
|
|
30
30
|
Twitter: http://www.twitter.com/apps
|
31
|
-
Google: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html#register
|
31
|
+
Google: http://code.google.com/apis/accounts/docs/RegistrationForWebAppsAuto.html#register (domains are managed on: https://www.google.com/accounts/ManageDomains)
|
32
32
|
Yahoo: http://developer.yahoo.com/flickr/
|
33
33
|
Flick: http://www.flickr.com/services/apps/create/apply
|
34
34
|
Linked In: https://www.linkedin.com/secure/developer
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.2
|
@@ -51,13 +51,7 @@ class Muck::AuthenticationsController < ApplicationController
|
|
51
51
|
@authentication.destroy
|
52
52
|
@current_authentications = current_user.authentications
|
53
53
|
@unused_authentications = get_unused_authentications(@current_authentications)
|
54
|
-
|
55
|
-
format.html do
|
56
|
-
flash[:notice] = t('muck.auth.removed_authentication')
|
57
|
-
redirect_to authentications_url
|
58
|
-
end
|
59
|
-
format.js { render :template => 'authentications/destroy' }
|
60
|
-
end
|
54
|
+
after_destroy_response
|
61
55
|
end
|
62
56
|
|
63
57
|
protected
|
@@ -70,6 +64,16 @@ class Muck::AuthenticationsController < ApplicationController
|
|
70
64
|
end
|
71
65
|
end
|
72
66
|
|
67
|
+
def after_destroy_response
|
68
|
+
respond_to do |format|
|
69
|
+
format.html do
|
70
|
+
flash[:notice] = t('muck.auth.removed_authentication')
|
71
|
+
redirect_to authentications_url
|
72
|
+
end
|
73
|
+
format.js { render :template => 'authentications/destroy' }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
73
77
|
def after_create_response(status)
|
74
78
|
case status
|
75
79
|
when :logged_in_success
|
data/muck-auth.gemspec
CHANGED
metadata
CHANGED