Skip to content

Commit

Permalink
added google oauth2 to profile form
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Christenson II committed Jul 10, 2012
1 parent 110360a commit 5cb0426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/users/_form.html.haml
Expand Up @@ -7,7 +7,7 @@

%h2 Oauth Providers

- %w(facebook twitter).each do |provider_name|
- %w(facebook twitter google_oauth2).each do |provider_name|
- if @current_user.providers.map(&:name).include?(provider_name)
= link_to "Remove #{provider_name.titleize}", user_provider_destroy_path(@current_user, provider_name)
- else
Expand Down

0 comments on commit 5cb0426

Please sign in to comment.