Cleanup after omniauth

This commit is contained in:
Dmitriy Zaporozhets 2012-09-12 08:23:20 +03:00
parent 486de8c3f4
commit fa4150d47d
9 changed files with 49 additions and 47 deletions

View file

@ -15,7 +15,8 @@
.right
= render :partial => "devise/shared/links"
- if devise_mapping.omniauthable?
- resource_class.omniauth_providers.each do |provider|
%hr/
= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider), :class => "btn primary"
%br/
%hr/
%ul.unstyled
- resource_class.omniauth_providers.each do |provider|
%li
= link_to authbutton(provider, 32), omniauth_authorize_path(resource_name, provider)