Created
February 18, 2015 17:44
-
-
Save monkbroc/aa80a577bb14c1b726f0 to your computer and use it in GitHub Desktop.
OmniAuth sign in buttons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="nav"> | |
| <% if user_signed_in? -%> | |
| <li><%= link_to 'Sign out', destroy_user_session_path, :method => :delete %></li> | |
| <% else -%> | |
| <li><%= link_to 'Sign in', new_user_session_path %></li> | |
| <% end -%> | |
| </ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment